Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001308/0.001308, allocations: 119 kB / 18.5 MB, free: 4.582 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.001308/0.001308, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.496/1.496, allocations: 225.6 MB / 249.8 MB, free: 3.688 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.2418/0.2418, allocations: 44.92 MB / 349.6 MB, free: 1.695 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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 65.47 kB / 491.9 MB, free: 30.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1315, allocations: 64.25 MB / 0.5431 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003938/0.1355, allocations: 2.251 MB / 0.5453 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1379, allocations: 1.204 MB / 0.5465 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1381, allocations: 7.938 kB / 0.5465 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.1386, allocations: 139.3 kB / 0.5466 GB, free: 368 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.139, allocations: 195.1 kB / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.1399, allocations: 318.1 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.1404, allocations: 430.8 kB / 0.5475 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1406, allocations: 36.95 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.141, allocations: 335 kB / 0.5479 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1413, allocations: 167.2 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.1413, allocations: 20 kB / 0.548 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1415, allocations: 67.98 kB / 0.5481 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.1416, allocations: 147.4 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1418, allocations: 190.5 kB / 0.5484 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.1424, allocations: 473.5 kB / 0.5489 GB, free: 14.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1424, allocations: 0 / 0.5489 GB, free: 14.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1424, allocations: 0 / 0.5489 GB, free: 14.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1424, allocations: 0 / 0.5489 GB, free: 14.03 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.001244/0.1437, allocations: 0.894 MB / 0.5498 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1437, allocations: 12.03 kB / 0.5498 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.1438, allocations: 46.73 kB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1439, allocations: 72.45 kB / 0.5499 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.1446, allocations: 428.9 kB / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1447, allocations: 8.375 kB / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.1447, allocations: 27.89 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.1452, allocations: 196.9 kB / 0.5505 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1452, allocations: 0 / 0.5505 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1452, allocations: 4 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1452, allocations: 4 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.1455, allocations: 99.84 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1466, allocations: 0.8211 MB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.1473, allocations: 230.5 kB / 0.5516 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1474, allocations: 91.45 kB / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.1475, allocations: 4 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/0.1479, allocations: 200.5 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.907e-06/0.1479, allocations: 3.984 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002646/0.1506, allocations: 1.179 MB / 0.5531 GB, free: 9.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.1507, allocations: 136.5 kB / 0.5532 GB, free: 9.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.1518, allocations: 0.9183 MB / 0.5541 GB, free: 8.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.1518, allocations: 41.69 kB / 0.5541 GB, free: 8.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.152, allocations: 265 kB / 0.5544 GB, free: 8.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1522, allocations: 146.8 kB / 0.5545 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1523, allocations: 82.08 kB / 0.5546 GB, free: 7.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.1525, allocations: 378.8 kB / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1528, allocations: 116.8 kB / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.1531, allocations: 187.2 kB / 0.5553 GB, free: 7.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.1536, allocations: 318.6 kB / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1536, allocations: 0 / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008576/0.1545, allocations: 444.8 kB / 0.556 GB, free: 6.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1545, allocations: 4 kB / 0.556 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1545, allocations: 4 kB / 0.556 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1545, allocations: 4 kB / 0.556 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1548, allocations: 91.95 kB / 0.5561 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1548, allocations: 11.94 kB / 0.5561 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.155, allocations: 15.98 kB / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.1551, allocations: 16 kB / 0.5561 GB, free: 6.215 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.0003455/0.1554, allocations: 256 kB / 0.5564 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1555, allocations: 71.53 kB / 0.5564 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.1557, allocations: 89.36 kB / 0.5565 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.1557, allocations: 7.938 kB / 0.5565 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.1557, allocations: 7.938 kB / 0.5565 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.1557, allocations: 7.984 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.1577, allocations: 1.334 MB / 0.5579 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1577, allocations: 0 / 0.5579 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1578, allocations: 55.92 kB / 0.5579 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.1578, allocations: 4 kB / 0.5579 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.1579, allocations: 15.98 kB / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.1579, allocations: 8 kB / 0.5579 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.1579, allocations: 7.875 kB / 0.5579 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1589, allocations: 0.7858 MB / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.1591, allocations: 180.6 kB / 0.5589 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.1592, allocations: 16 kB / 0.5589 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.1595, allocations: 15.98 kB / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.1596, allocations: 47.89 kB / 0.559 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.1596, allocations: 19.98 kB / 0.559 GB, free: 3.137 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000788/0.1604, allocations: 0.6748 MB / 0.5596 GB, free: 2.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1604, allocations: 0 / 0.5596 GB, free: 2.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.161, allocations: 91.92 kB / 0.5597 GB, free: 2.379 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.003318/0.1643, allocations: 1.769 MB / 0.5615 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007851/0.1651, allocations: 291.8 kB / 0.5617 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1651, allocations: 4.062 kB / 0.5617 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1654, allocations: 155.8 kB / 0.5619 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.1664, allocations: 128.9 kB / 0.562 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.1738, allocations: 5.023 MB / 0.5669 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.1745, allocations: 0.9092 MB / 0.5678 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.1748, allocations: 75.25 kB / 0.5679 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.1751, allocations: 199.4 kB / 0.5681 GB, free: 9.801 MB / 430.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1751, allocations: 4 kB / 0.5681 GB, free: 9.797 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/0.2138, allocations: 11.29 MB / 0.5791 GB, free: 14.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.985/9.199, allocations: 4.062 kB / 0.5791 GB, free: 14.55 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.503592104651034]