Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001384/0.001384, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001423/0.001423, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2708/0.2708, allocations: 44.91 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",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.002125/0.002125, allocations: 74.55 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4475, allocations: 65.45 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003905/0.4514, allocations: 1.772 MB / 0.5588 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.4535, allocations: 1.057 MB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.4536, allocations: 0 / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.454, allocations: 91.69 kB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.4545, allocations: 119.5 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.4547, allocations: 83.66 kB / 0.5601 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.455, allocations: 123.7 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4551, allocations: 17.8 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.4552, allocations: 67.7 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.4553, allocations: 67.73 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.4554, allocations: 4 kB / 0.5604 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4555, allocations: 63.97 kB / 0.5605 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.4556, allocations: 19.92 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.4556, allocations: 47.67 kB / 0.5605 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.4559, allocations: 147.3 kB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4559, allocations: 0 / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4559, allocations: 4 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4559, allocations: 0 / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008165/0.4568, allocations: 373.3 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.4568, allocations: 8.031 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.4569, allocations: 38.73 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.4569, allocations: 12.84 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.4573, allocations: 167 kB / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4574, allocations: 384 / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.4574, allocations: 15.94 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4576, allocations: 61.55 kB / 0.5613 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.4576, allocations: 4 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4576, allocations: 3.984 kB / 0.5613 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4576, allocations: 0 / 0.5613 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.4577, allocations: 19.98 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.4582, allocations: 267.9 kB / 0.5616 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.4585, allocations: 66.48 kB / 0.5617 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.4586, allocations: 20.98 kB / 0.5617 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.4586, allocations: 3.984 kB / 0.5617 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.4588, allocations: 71.38 kB / 0.5618 GB, free: 2.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4588, allocations: 0 / 0.5618 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009186/0.4597, allocations: 249.3 kB / 0.562 GB, free: 2.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.4598, allocations: 63.28 kB / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.4601, allocations: 231 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.4602, allocations: 29.7 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4603, allocations: 116 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.4603, allocations: 35.73 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.4604, allocations: 25.7 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.4606, allocations: 330.8 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.4607, allocations: 31.98 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.4608, allocations: 45.7 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.461, allocations: 77.64 kB / 0.5629 GB, free: 1.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.461, allocations: 0 / 0.5629 GB, free: 1.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002637/0.4612, allocations: 129.5 kB / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4612, allocations: 10.69 kB / 0.5631 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4612, allocations: 0 / 0.5631 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4613, allocations: 4 kB / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.4614, allocations: 31.86 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.4614, allocations: 0 / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.4614, allocations: 8 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4614, allocations: 4 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001666/0.4616, allocations: 129.8 kB / 0.5632 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.4616, allocations: 15.91 kB / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.462, allocations: 150.9 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.462, allocations: 3.938 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.462, allocations: 3.984 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.462, allocations: 4 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.4627, allocations: 419.1 kB / 0.5638 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4627, allocations: 4 kB / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.4627, allocations: 15.98 kB / 0.5638 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4627, allocations: 4.062 kB / 0.5638 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4627, allocations: 0 / 0.5638 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4627, allocations: 4 kB / 0.5638 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4627, allocations: 0 / 0.5638 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.4631, allocations: 241 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.4631, allocations: 19.91 kB / 0.5641 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4631, allocations: 0 / 0.5641 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.4632, allocations: 4 kB / 0.5641 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.4633, allocations: 11.98 kB / 0.5641 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.4633, allocations: 8.078 kB / 0.5641 GB, free: 216 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.4635, allocations: 175.2 kB / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4635, allocations: 0 / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.4638, allocations: 31.92 kB / 0.5643 GB, free: 8 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002756/0.4666, allocations: 1.185 MB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.4668, allocations: 75.84 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.4668, allocations: 4.062 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.4669, allocations: 39.92 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.4673, allocations: 27.73 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.47, allocations: 1.849 MB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.4705, allocations: 0.7119 MB / 0.5681 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.4706, allocations: 20.62 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4707, allocations: 51.41 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4707, allocations: 4 kB / 0.5682 GB, free: 12.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.5021, allocations: 4.129 MB / 0.5722 GB, free: 8.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.5, allocations: 21.66 kB / 0.5722 GB, free: 8.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.755154730999493]