Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 114.8 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 217.4 kB / 21.46 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 82.22 kB / 0.4887 GB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1223, allocations: 65.41 MB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003549/0.1258, allocations: 1.925 MB / 0.5544 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1279, allocations: 1.134 MB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1281, allocations: 7.938 kB / 0.5555 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.1286, allocations: 259.3 kB / 0.5558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.1291, allocations: 235.2 kB / 0.556 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1294, allocations: 111.6 kB / 0.5561 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.1298, allocations: 275.3 kB / 0.5564 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1299, allocations: 25.83 kB / 0.5564 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1301, allocations: 135.5 kB / 0.5565 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1304, allocations: 215.4 kB / 0.5567 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1304, allocations: 8 kB / 0.5567 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1305, allocations: 59.98 kB / 0.5568 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1306, allocations: 67.69 kB / 0.5569 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1308, allocations: 99.23 kB / 0.557 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1311, allocations: 254.7 kB / 0.5572 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1311, allocations: 0 / 0.5572 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1311, allocations: 3.938 kB / 0.5572 GB, free: 5.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1311, allocations: 4 kB / 0.5572 GB, free: 5.223 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008724/0.132, allocations: 0.591 MB / 0.5578 GB, free: 4.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1321, allocations: 12.03 kB / 0.5578 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.1321, allocations: 4.188 kB / 0.5578 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1321, allocations: 46.73 kB / 0.5578 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.1322, allocations: 28.75 kB / 0.5579 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1326, allocations: 298.6 kB / 0.5582 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1326, allocations: 8.125 kB / 0.5582 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1326, allocations: 12 kB / 0.5582 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1329, allocations: 109.7 kB / 0.5583 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1329, allocations: 7.922 kB / 0.5583 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1329, allocations: 4 kB / 0.5583 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1329, allocations: 4 kB / 0.5583 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1331, allocations: 51.94 kB / 0.5583 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.1337, allocations: 476.7 kB / 0.5588 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.1341, allocations: 113.2 kB / 0.5589 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1342, allocations: 49.75 kB / 0.559 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1342, allocations: 0 / 0.559 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1345, allocations: 132.4 kB / 0.5591 GB, free: 3.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1345, allocations: 0 / 0.5591 GB, free: 3.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.1359, allocations: 0.5169 MB / 0.5596 GB, free: 2.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.136, allocations: 85.05 kB / 0.5597 GB, free: 2.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.1365, allocations: 0.4899 MB / 0.5601 GB, free: 1.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1365, allocations: 29.7 kB / 0.5602 GB, free: 1.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1366, allocations: 172.5 kB / 0.5603 GB, free: 1.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.1367, allocations: 67.42 kB / 0.5604 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.1368, allocations: 45.7 kB / 0.5604 GB, free: 1.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1369, allocations: 350.8 kB / 0.5608 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1371, allocations: 47.98 kB / 0.5608 GB, free: 1.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1372, allocations: 97.52 kB / 0.5609 GB, free: 1.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1375, allocations: 167.5 kB / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1375, allocations: 0 / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004223/0.1379, allocations: 245.2 kB / 0.5613 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1379, allocations: 4 kB / 0.5613 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1379, allocations: 4.062 kB / 0.5613 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.138, allocations: 4 kB / 0.5613 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1381, allocations: 39.98 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1381, allocations: 4 kB / 0.5614 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.1382, allocations: 11.98 kB / 0.5614 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1382, allocations: 11.94 kB / 0.5614 GB, free: 0.6445 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001784/0.1384, allocations: 169.8 kB / 0.5615 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.1385, allocations: 47.64 kB / 0.5616 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.1385, allocations: 38.89 kB / 0.5616 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1385, allocations: 8 kB / 0.5616 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1385, allocations: 3.984 kB / 0.5616 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1385, allocations: 0 / 0.5616 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.1395, allocations: 0.7389 MB / 0.5624 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1395, allocations: 8.125 kB / 0.5624 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.1396, allocations: 31.92 kB / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1396, allocations: 0 / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1396, allocations: 8 kB / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1396, allocations: 4 kB / 0.5624 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1396, allocations: 7.922 kB / 0.5624 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.1401, allocations: 427.1 kB / 0.5628 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.1402, allocations: 112.9 kB / 0.5629 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1403, allocations: 8 kB / 0.5629 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1404, allocations: 12 kB / 0.563 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.1405, allocations: 19.91 kB / 0.563 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.1405, allocations: 19.98 kB / 0.563 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003821/0.1409, allocations: 371.1 kB / 0.5633 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1409, allocations: 0 / 0.5633 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000362/0.1412, allocations: 51.92 kB / 0.5634 GB, free: 14.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002662/0.1439, allocations: 1.36 MB / 0.5647 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1443, allocations: 155.6 kB / 0.5649 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1443, allocations: 4.125 kB / 0.5649 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1444, allocations: 75.84 kB / 0.565 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.145, allocations: 65.78 kB / 0.565 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.1487, allocations: 3.008 MB / 0.568 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1491, allocations: 0.7831 MB / 0.5687 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1492, allocations: 41.92 kB / 0.5688 GB, free: 9.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1494, allocations: 115.3 kB / 0.5689 GB, free: 8.898 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1494, allocations: 0 / 0.5689 GB, free: 8.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.1721, allocations: 6.731 MB / 0.5754 GB, free: 2.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.875/9.047, allocations: 8 kB / 0.5754 GB, free: 2.227 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.24056245200336]