Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.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.2416/0.2416, allocations: 44.91 MB / 349.6 MB, free: 1.734 MB / 270.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.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 65.52 kB / 491.9 MB, free: 30.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1443, allocations: 64.26 MB / 0.5431 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004194/0.1484, allocations: 2.242 MB / 0.5453 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1507, allocations: 1.212 MB / 0.5465 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1509, allocations: 7.938 kB / 0.5465 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.1513, allocations: 111.4 kB / 0.5466 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.1517, allocations: 183.1 kB / 0.5468 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007672/0.1525, allocations: 321.7 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.153, allocations: 430.7 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1532, allocations: 36.95 kB / 0.5475 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.1535, allocations: 303.1 kB / 0.5478 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1537, allocations: 155.2 kB / 0.548 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.1538, allocations: 16 kB / 0.548 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.154, allocations: 71.97 kB / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1541, allocations: 131.5 kB / 0.5482 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.1543, allocations: 166.7 kB / 0.5483 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.1548, allocations: 425.8 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1548, allocations: 4 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1548, allocations: 0 / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1548, allocations: 0 / 0.5487 GB, free: 14.21 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00119/0.156, allocations: 0.8165 MB / 0.5495 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.156, allocations: 12.03 kB / 0.5495 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.607e-05/0.1561, allocations: 46.73 kB / 0.5496 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.1562, allocations: 56.56 kB / 0.5496 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.1569, allocations: 412.2 kB / 0.55 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1569, allocations: 8.375 kB / 0.55 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.1569, allocations: 27.89 kB / 0.5501 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.1573, allocations: 196.9 kB / 0.5503 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1573, allocations: 3.938 kB / 0.5503 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1573, allocations: 8 kB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1574, allocations: 4 kB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.1576, allocations: 95.84 kB / 0.5504 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1586, allocations: 0.7899 MB / 0.5511 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.1593, allocations: 234.5 kB / 0.5514 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.1595, allocations: 87.47 kB / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1595, allocations: 11.98 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.1599, allocations: 200.4 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 4.088e-06/0.1599, allocations: 3.984 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00245/0.1623, allocations: 1.113 MB / 0.5527 GB, free: 9.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.1624, allocations: 144.4 kB / 0.5529 GB, free: 9.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/0.1633, allocations: 0.7529 MB / 0.5536 GB, free: 8.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.1633, allocations: 41.7 kB / 0.5536 GB, free: 8.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1635, allocations: 233 kB / 0.5539 GB, free: 8.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1636, allocations: 150.8 kB / 0.554 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1637, allocations: 78.08 kB / 0.5541 GB, free: 8.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1639, allocations: 366.8 kB / 0.5544 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1642, allocations: 116.8 kB / 0.5545 GB, free: 7.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.1645, allocations: 187.2 kB / 0.5547 GB, free: 7.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.165, allocations: 315 kB / 0.555 GB, free: 7.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.165, allocations: 7.984 kB / 0.555 GB, free: 7.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007846/0.1658, allocations: 432.8 kB / 0.5554 GB, free: 6.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1658, allocations: 8 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1658, allocations: 4.125 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1659, allocations: 4 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1661, allocations: 87.89 kB / 0.5555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1661, allocations: 11.88 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1663, allocations: 19.98 kB / 0.5556 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1663, allocations: 16 kB / 0.5556 GB, free: 6.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002711/0.1666, allocations: 224 kB / 0.5558 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1667, allocations: 71.58 kB / 0.5559 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1668, allocations: 84.48 kB / 0.556 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1669, allocations: 4 kB / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.1669, allocations: 3.938 kB / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1669, allocations: 4 kB / 0.556 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.1688, allocations: 1.303 MB / 0.5572 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1688, allocations: 0 / 0.5572 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1689, allocations: 55.92 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1689, allocations: 7.984 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.169, allocations: 16.25 kB / 0.5573 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.169, allocations: 8 kB / 0.5573 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.169, allocations: 3.938 kB / 0.5573 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/0.1699, allocations: 0.7739 MB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.1701, allocations: 176.6 kB / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.1702, allocations: 12 kB / 0.5583 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1704, allocations: 23.98 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.1705, allocations: 43.83 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1706, allocations: 23.92 kB / 0.5583 GB, free: 3.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006547/0.1712, allocations: 0.5457 MB / 0.5589 GB, free: 3.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1712, allocations: 0 / 0.5589 GB, free: 3.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005337/0.1717, allocations: 87.92 kB / 0.559 GB, free: 3.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003244/0.175, allocations: 1.763 MB / 0.5607 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.1757, allocations: 299.5 kB / 0.561 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.1757, allocations: 0 / 0.561 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.176, allocations: 147.7 kB / 0.5611 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.1769, allocations: 119.8 kB / 0.5612 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.1832, allocations: 4.653 MB / 0.5658 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.1837, allocations: 0.878 MB / 0.5666 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.184, allocations: 79.25 kB / 0.5667 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.1842, allocations: 187.3 kB / 0.5669 GB, free: 11.03 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1842, allocations: 3.938 kB / 0.5669 GB, free: 11.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.2213, allocations: 10.61 MB / 0.5772 GB, free: 480 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/9.103, allocations: 0 / 0.5772 GB, free: 480 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.392354231793433]