Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.8 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.16 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.16 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003655/0.1309, allocations: 1.756 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1325, allocations: 0.8653 MB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.1326, allocations: 3.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.133, allocations: 31.91 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1332, allocations: 39.83 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1336, allocations: 99.39 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1338, allocations: 91.7 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1339, allocations: 12.22 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.134, allocations: 43.77 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.1341, allocations: 27.86 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1341, allocations: 4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1342, allocations: 43.97 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.1343, allocations: 19.86 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.1344, allocations: 23.81 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1346, allocations: 107.9 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1346, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1346, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1346, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005787/0.1352, allocations: 411.1 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1353, allocations: 8.031 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.1353, allocations: 38.73 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1353, allocations: 8.844 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1356, allocations: 212.3 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1356, allocations: 4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1356, allocations: 3.984 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1358, allocations: 53.67 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1358, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1358, allocations: 4 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1359, allocations: 4 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.1359, allocations: 15.98 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1363, allocations: 288.8 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1365, allocations: 58.67 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.1366, allocations: 24.84 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1366, allocations: 0 / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.1369, allocations: 67.39 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1369, allocations: 3.938 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.1374, allocations: 165.3 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1375, allocations: 55.34 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1377, allocations: 176.3 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1377, allocations: 25.7 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.1378, allocations: 96.14 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1378, allocations: 27.64 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.1378, allocations: 21.72 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.138, allocations: 322.8 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.138, allocations: 23.98 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.1381, allocations: 37.7 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1382, allocations: 61.69 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1383, allocations: 3.938 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.1385, allocations: 93.59 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1385, allocations: 4 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1385, allocations: 7.938 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1385, allocations: 0 / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.1386, allocations: 19.92 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1386, allocations: 4.031 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1387, allocations: 4 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1387, allocations: 8 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1388, allocations: 121.8 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1389, allocations: 11.91 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.1389, allocations: 16.66 kB / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1389, allocations: 0 / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1389, allocations: 0 / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1389, allocations: 3.984 kB / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1394, allocations: 395.3 kB / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1394, allocations: 0 / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.1395, allocations: 12.36 kB / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1395, allocations: 0 / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1395, allocations: 4 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1395, allocations: 4 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1395, allocations: 0 / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1398, allocations: 212.1 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1398, allocations: 85.02 kB / 474.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1398, allocations: 0 / 474.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.1399, allocations: 7.984 kB / 475 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.14, allocations: 8 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.14, allocations: 0 / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1401, allocations: 134.2 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1401, allocations: 0 / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1404, allocations: 24 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/0.1419, allocations: 1.101 MB / 476.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1421, allocations: 59.91 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1422, allocations: 4 kB / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.1422, allocations: 23.98 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1426, allocations: 31.77 kB / 476.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1443, allocations: 1.586 MB / 477.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1446, allocations: 0.6965 MB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.1447, allocations: 21.17 kB / 478.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.1448, allocations: 27.42 kB / 478.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1448, allocations: 4 kB / 478.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.1584, allocations: 3.014 MB / 481.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.1587, allocations: 233.3 kB / 481.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.119, allocations: 0 / 481.9 MB, free: 1.184 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches