Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001801/0.001801, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002346/0.002346, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2399/0.2399, allocations: 46.93 MB / 357.1 MB, free: 10.28 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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 71.89 kB / 0.491 GB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 65.99 MB / 0.5555 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00337/0.128, allocations: 1.933 MB / 0.5574 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1299, allocations: 1.134 MB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.13, allocations: 3.938 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1304, allocations: 167.5 kB / 0.5586 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1309, allocations: 179.3 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1312, allocations: 115.6 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.1315, allocations: 251.2 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1316, allocations: 21.69 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1318, allocations: 115.5 kB / 0.5593 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.132, allocations: 147.5 kB / 0.5594 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.132, allocations: 8 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1321, allocations: 63.98 kB / 0.5595 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.1322, allocations: 47.77 kB / 0.5595 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.1323, allocations: 87.36 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1326, allocations: 230.9 kB / 0.5598 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1326, allocations: 4 kB / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1326, allocations: 0 / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1327, allocations: 0 / 0.5598 GB, free: 1.191 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.0007628/0.1334, allocations: 0.5407 MB / 0.5604 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1335, allocations: 8.031 kB / 0.5604 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1335, allocations: 42.73 kB / 0.5604 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.1336, allocations: 28.75 kB / 0.5605 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.134, allocations: 287.6 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.134, allocations: 12.38 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.134, allocations: 11.94 kB / 0.5608 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.1343, allocations: 105.3 kB / 0.5609 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1343, allocations: 3.938 kB / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1343, allocations: 4 kB / 0.5609 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1343, allocations: 4 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1344, allocations: 51.94 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.1351, allocations: 472.8 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1354, allocations: 113.2 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1356, allocations: 53.81 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1356, allocations: 4 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1358, allocations: 113 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1358, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.1372, allocations: 0.4898 MB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1372, allocations: 81.11 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.1377, allocations: 371.3 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1377, allocations: 33.7 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1378, allocations: 144.5 kB / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.1379, allocations: 79.38 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.138, allocations: 41.7 kB / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1381, allocations: 350.7 kB / 0.5632 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1383, allocations: 51.98 kB / 0.5632 GB, free: 13.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1385, allocations: 97.52 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.1387, allocations: 155.4 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1387, allocations: 4 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004289/0.1392, allocations: 237.5 kB / 0.5637 GB, free: 12.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1392, allocations: 4 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1392, allocations: 0 / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1392, allocations: 4 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1394, allocations: 43.92 kB / 0.5637 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1394, allocations: 7.938 kB / 0.5637 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.1395, allocations: 16.05 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1395, allocations: 8 kB / 0.5638 GB, free: 12.89 MB / 430.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.0001545/0.1396, allocations: 153.8 kB / 0.5639 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.1397, allocations: 35.73 kB / 0.5639 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.725e-05/0.1398, allocations: 38.06 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1398, allocations: 4 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1398, allocations: 0 / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1398, allocations: 0 / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009732/0.1408, allocations: 0.7272 MB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1408, allocations: 4 kB / 0.5647 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.1408, allocations: 31.98 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1409, allocations: 0 / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1409, allocations: 11.98 kB / 0.5647 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1409, allocations: 12.05 kB / 0.5648 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.1409, allocations: 7.938 kB / 0.5648 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.1414, allocations: 414 kB / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.1415, allocations: 104.9 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.1415, allocations: 8 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1417, allocations: 7.984 kB / 0.5653 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.1418, allocations: 23.86 kB / 0.5653 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.1418, allocations: 8 kB / 0.5653 GB, free: 11.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.1421, allocations: 281.9 kB / 0.5656 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1421, allocations: 0 / 0.5656 GB, free: 10.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.1425, allocations: 51.94 kB / 0.5656 GB, free: 10.86 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.002824/0.1453, allocations: 1.36 MB / 0.5669 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.1458, allocations: 147.8 kB / 0.5671 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1458, allocations: 3.938 kB / 0.5671 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1459, allocations: 71.91 kB / 0.5672 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.1466, allocations: 64.08 kB / 0.5672 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.1503, allocations: 2.726 MB / 0.5699 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1507, allocations: 0.7636 MB / 0.5706 GB, free: 5.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.1508, allocations: 41.92 kB / 0.5707 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.151, allocations: 87.39 kB / 0.5708 GB, free: 5.621 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.151, allocations: 0 / 0.5708 GB, free: 5.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.1828, allocations: 6.14 MB / 0.5767 GB, free: 15.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.608, allocations: 7.938 kB / 0.5768 GB, free: 15.55 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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: 11.789694883162156]