Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001905/0.001905, allocations: 113 kB / 18.49 MB, free: 4.539 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.002149/0.002149, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.602/1.602, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2324/0.2324, allocations: 44.91 MB / 355.8 MB, free: 12.29 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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.002103/0.002103, allocations: 72.17 kB / 0.4887 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1269, allocations: 65.42 MB / 0.5525 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004984/0.1319, allocations: 1.924 MB / 0.5544 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1342, allocations: 1.132 MB / 0.5555 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.1345, allocations: 11.88 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.1352, allocations: 163.5 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009407/0.1362, allocations: 191.3 kB / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.1368, allocations: 115.6 kB / 0.556 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00067/0.1375, allocations: 243.3 kB / 0.5562 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.1377, allocations: 25.84 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.138, allocations: 123.5 kB / 0.5564 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1382, allocations: 131.5 kB / 0.5565 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1383, allocations: 12 kB / 0.5565 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.1385, allocations: 63.97 kB / 0.5566 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1386, allocations: 59.7 kB / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1388, allocations: 83.34 kB / 0.5567 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.1393, allocations: 227 kB / 0.5569 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1393, allocations: 0 / 0.5569 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1393, allocations: 3.938 kB / 0.5569 GB, free: 5.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1393, allocations: 0 / 0.5569 GB, free: 5.512 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.001076/0.1404, allocations: 0.5484 MB / 0.5574 GB, free: 4.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1404, allocations: 12.03 kB / 0.5575 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.1404, allocations: 192 / 0.5575 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.1405, allocations: 38.75 kB / 0.5575 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.1405, allocations: 28.75 kB / 0.5575 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.141, allocations: 283.7 kB / 0.5578 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.141, allocations: 12.06 kB / 0.5578 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1411, allocations: 8 kB / 0.5578 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1413, allocations: 107.3 kB / 0.5579 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1413, allocations: 4 kB / 0.5579 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1414, allocations: 7.922 kB / 0.5579 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1414, allocations: 4 kB / 0.5579 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1415, allocations: 51.91 kB / 0.558 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.1422, allocations: 464.8 kB / 0.5584 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.1427, allocations: 125.1 kB / 0.5585 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1428, allocations: 37.83 kB / 0.5586 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.1428, allocations: 4 kB / 0.5586 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.1431, allocations: 121 kB / 0.5587 GB, free: 3.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1431, allocations: 4 kB / 0.5587 GB, free: 3.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00156/0.1447, allocations: 493.8 kB / 0.5592 GB, free: 2.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1448, allocations: 85.05 kB / 0.5593 GB, free: 2.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.1452, allocations: 367.3 kB / 0.5596 GB, free: 2.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.1452, allocations: 33.7 kB / 0.5596 GB, free: 2.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1454, allocations: 148.5 kB / 0.5598 GB, free: 2.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.1455, allocations: 79.38 kB / 0.5599 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1455, allocations: 45.7 kB / 0.5599 GB, free: 2.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1457, allocations: 338.8 kB / 0.5602 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1458, allocations: 55.97 kB / 0.5603 GB, free: 1.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.146, allocations: 93.47 kB / 0.5604 GB, free: 1.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1463, allocations: 167.5 kB / 0.5605 GB, free: 1.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1463, allocations: 0 / 0.5605 GB, free: 1.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004359/0.1467, allocations: 233.3 kB / 0.5607 GB, free: 1.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1467, allocations: 6.188 kB / 0.5607 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1467, allocations: 0 / 0.5607 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1468, allocations: 4 kB / 0.5608 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1469, allocations: 51.97 kB / 0.5608 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1469, allocations: 4.062 kB / 0.5608 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.147, allocations: 8 kB / 0.5608 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.147, allocations: 12 kB / 0.5608 GB, free: 1.207 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.000187/0.1472, allocations: 161.7 kB / 0.561 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.1473, allocations: 31.75 kB / 0.561 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.535e-05/0.1473, allocations: 37.83 kB / 0.561 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1473, allocations: 7.938 kB / 0.5611 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1474, allocations: 4 kB / 0.5611 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1474, allocations: 0 / 0.5611 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.1483, allocations: 0.7272 MB / 0.5618 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1483, allocations: 0 / 0.5618 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.1484, allocations: 27.98 kB / 0.5618 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1484, allocations: 8.125 kB / 0.5618 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1484, allocations: 8 kB / 0.5618 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1484, allocations: 0 / 0.5618 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.1485, allocations: 11.88 kB / 0.5618 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.149, allocations: 417.1 kB / 0.5622 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.1491, allocations: 100.9 kB / 0.5623 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.1491, allocations: 8 kB / 0.5623 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1492, allocations: 7.984 kB / 0.5623 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.1493, allocations: 23.86 kB / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1493, allocations: 15.98 kB / 0.5624 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002976/0.1496, allocations: 281.9 kB / 0.5626 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1496, allocations: 0 / 0.5626 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.15, allocations: 43.94 kB / 0.5627 GB, free: 15.18 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.002772/0.1528, allocations: 1.366 MB / 0.564 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.1532, allocations: 147.8 kB / 0.5642 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1532, allocations: 0 / 0.5642 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1533, allocations: 80.28 kB / 0.5642 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.1539, allocations: 76.88 kB / 0.5643 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.1576, allocations: 2.717 MB / 0.567 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.1581, allocations: 0.7597 MB / 0.5677 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1582, allocations: 49.89 kB / 0.5677 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.1584, allocations: 87.41 kB / 0.5678 GB, free: 9.934 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1584, allocations: 0 / 0.5678 GB, free: 9.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.1826, allocations: 6.166 MB / 0.5739 GB, free: 3.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.731/8.914, allocations: 4 kB / 0.5739 GB, free: 3.836 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.27104431099724]