Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001808/0.001808, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002154/0.002154, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.555/1.555, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.89 kB / 0.491 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 65.99 MB / 0.5555 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003962/0.136, allocations: 2.296 MB / 0.5577 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1387, allocations: 1.318 MB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.139, allocations: 11.94 kB / 0.559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.1395, allocations: 123.3 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.1402, allocations: 246.9 kB / 0.5594 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.1407, allocations: 191.4 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.1413, allocations: 458.6 kB / 0.56 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1415, allocations: 49.06 kB / 0.56 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.1419, allocations: 311 kB / 0.5603 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1421, allocations: 167.1 kB / 0.5605 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.1421, allocations: 20 kB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1423, allocations: 67.98 kB / 0.5606 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.1425, allocations: 131.5 kB / 0.5607 GB, free: 384 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1427, allocations: 190.5 kB / 0.5609 GB, free: 192 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.1433, allocations: 445.6 kB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1433, allocations: 0 / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1433, allocations: 4 kB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1433, allocations: 4 kB / 0.5613 GB, free: 15.74 MB / 430.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.001276/0.1446, allocations: 0.8397 MB / 0.5621 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1447, allocations: 12.03 kB / 0.5621 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.1447, allocations: 50.67 kB / 0.5622 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1448, allocations: 64.52 kB / 0.5623 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.1455, allocations: 425.1 kB / 0.5627 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1455, allocations: 8.375 kB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.1456, allocations: 27.83 kB / 0.5627 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.146, allocations: 189 kB / 0.5629 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.146, allocations: 0 / 0.5629 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.146, allocations: 4 kB / 0.5629 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.146, allocations: 4 kB / 0.5629 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.1463, allocations: 99.86 kB / 0.563 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1474, allocations: 0.7976 MB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.1481, allocations: 238.5 kB / 0.564 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1482, allocations: 83.52 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1483, allocations: 4 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.1487, allocations: 210.6 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.1487, allocations: 0 / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002658/0.1513, allocations: 1.14 MB / 0.5654 GB, free: 11.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1514, allocations: 136.5 kB / 0.5655 GB, free: 11.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.1524, allocations: 0.8008 MB / 0.5663 GB, free: 10.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.1524, allocations: 41.69 kB / 0.5663 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1526, allocations: 237 kB / 0.5666 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.1528, allocations: 142.8 kB / 0.5667 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1529, allocations: 82.08 kB / 0.5668 GB, free: 9.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1531, allocations: 374.8 kB / 0.5671 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1533, allocations: 116.8 kB / 0.5672 GB, free: 9.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.1536, allocations: 191 kB / 0.5674 GB, free: 9.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1542, allocations: 311.1 kB / 0.5677 GB, free: 8.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1542, allocations: 7.938 kB / 0.5677 GB, free: 8.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008066/0.155, allocations: 441.4 kB / 0.5682 GB, free: 8.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.155, allocations: 4 kB / 0.5682 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.155, allocations: 4 kB / 0.5682 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.1551, allocations: 4 kB / 0.5682 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1553, allocations: 83.84 kB / 0.5682 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.1554, allocations: 11.92 kB / 0.5683 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1555, allocations: 16 kB / 0.5683 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1555, allocations: 19.98 kB / 0.5683 GB, free: 8.211 MB / 430.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.0003106/0.1559, allocations: 246 kB / 0.5685 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.156, allocations: 71.47 kB / 0.5686 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.1561, allocations: 80.92 kB / 0.5687 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1561, allocations: 4 kB / 0.5687 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.1561, allocations: 7.938 kB / 0.5687 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1561, allocations: 7.984 kB / 0.5687 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.158, allocations: 1.303 MB / 0.57 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.158, allocations: 4 kB / 0.57 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1582, allocations: 55.92 kB / 0.57 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.1582, allocations: 8.625 kB / 0.57 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.1582, allocations: 19.98 kB / 0.57 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.1582, allocations: 7.938 kB / 0.5701 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.1582, allocations: 7.938 kB / 0.5701 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009914/0.1592, allocations: 0.7939 MB / 0.5708 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.1594, allocations: 168.6 kB / 0.571 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.1595, allocations: 23.98 kB / 0.571 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.1597, allocations: 15.98 kB / 0.571 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.1598, allocations: 47.83 kB / 0.5711 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.1599, allocations: 16 kB / 0.5711 GB, free: 5.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006812/0.1605, allocations: 0.5849 MB / 0.5717 GB, free: 4.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1605, allocations: 0 / 0.5717 GB, free: 4.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005484/0.1611, allocations: 91.94 kB / 0.5718 GB, free: 4.504 MB / 430.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.003283/0.1644, allocations: 1.751 MB / 0.5735 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.1651, allocations: 299.5 kB / 0.5738 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1651, allocations: 0 / 0.5738 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.1654, allocations: 149 kB / 0.5739 GB, free: 2.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.1665, allocations: 130 kB / 0.574 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007001/0.1735, allocations: 4.763 MB / 0.5787 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.1741, allocations: 0.8899 MB / 0.5795 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.1743, allocations: 79.28 kB / 0.5796 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.1746, allocations: 191.4 kB / 0.5798 GB, free: 12.22 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1746, allocations: 0 / 0.5798 GB, free: 12.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.2157, allocations: 10.9 MB / 0.5904 GB, free: 1.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.961/9.177, allocations: 12 kB / 0.5904 GB, free: 1.391 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.745371808996424]