Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001893/0.001893, 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.002379/0.002379, allocations: 214.7 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2476/0.2476, allocations: 44.91 MB / 358.8 MB, free: 6.262 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002099/0.002099, allocations: 63.91 kB / 0.4931 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4228, allocations: 65.48 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00347/0.4263, allocations: 1.846 MB / 0.5589 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.4283, allocations: 1.12 MB / 0.56 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.4284, allocations: 3.938 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.429, allocations: 299.3 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.4295, allocations: 251.2 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.4298, allocations: 107.7 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.4301, allocations: 267.2 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.4302, allocations: 9.75 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.4304, allocations: 135.5 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.4307, allocations: 215.9 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4307, allocations: 8 kB / 0.5612 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.4309, allocations: 43.98 kB / 0.5613 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.431, allocations: 140.5 kB / 0.5614 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.4312, allocations: 150.7 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.4317, allocations: 368.1 kB / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4317, allocations: 4 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4317, allocations: 0 / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4317, allocations: 0 / 0.5619 GB, free: 2.777 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.001127/0.4328, allocations: 0.6825 MB / 0.5626 GB, free: 2.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/0.4329, allocations: 12.03 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.433, allocations: 30.75 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.433, allocations: 48.61 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.4338, allocations: 394.5 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4338, allocations: 8.375 kB / 0.563 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.4338, allocations: 11.94 kB / 0.563 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.4341, allocations: 91.36 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4341, allocations: 0 / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4341, allocations: 0 / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4341, allocations: 0 / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4342, allocations: 27.92 kB / 0.5632 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.4346, allocations: 345.5 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.4349, allocations: 109.1 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.435, allocations: 41.69 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4351, allocations: 0 / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.4353, allocations: 113 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.4353, allocations: 0 / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005052/0.4358, allocations: 201.2 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.4359, allocations: 81.05 kB / 0.564 GB, free: 432 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4371, allocations: 1.022 MB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.4371, allocations: 33.7 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4373, allocations: 236.1 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.4374, allocations: 27.83 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.4374, allocations: 25.72 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4376, allocations: 374.8 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.4377, allocations: 27.98 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.4378, allocations: 55.42 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.438, allocations: 95.28 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.438, allocations: 3.938 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003083/0.4383, allocations: 173.8 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4383, allocations: 4 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4384, allocations: 4 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4384, allocations: 4.062 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4385, allocations: 27.92 kB / 0.566 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.4385, allocations: 4 kB / 0.566 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.549e-05/0.4386, allocations: 15.88 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4386, allocations: 4 kB / 0.5661 GB, free: 14.24 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002302/0.4388, allocations: 217.7 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.4389, allocations: 51.67 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.4393, allocations: 197.8 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4393, allocations: 7.984 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.4393, allocations: 3.984 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4393, allocations: 0 / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.4397, allocations: 316.5 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4397, allocations: 3.938 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.4397, allocations: 12 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4397, allocations: 0 / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4397, allocations: 0 / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4397, allocations: 4 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4397, allocations: 0 / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.4401, allocations: 221.4 kB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4402, allocations: 67.59 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.4403, allocations: 4 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.4404, allocations: 12.11 kB / 0.5671 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4404, allocations: 11.98 kB / 0.5671 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.4404, allocations: 15.94 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008281/0.4412, allocations: 0.7604 MB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4412, allocations: 0 / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.4415, allocations: 43.98 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0021/0.4436, allocations: 1.061 MB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.4439, allocations: 79.89 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4439, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.444, allocations: 40.23 kB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4444, allocations: 75.08 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.4501, allocations: 4.485 MB / 0.5735 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.4506, allocations: 0.8426 MB / 0.5744 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.4507, allocations: 62.88 kB / 0.5744 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.4509, allocations: 151.4 kB / 0.5746 GB, free: 5.445 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4509, allocations: 0 / 0.5746 GB, free: 5.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/0.4896, allocations: 9.215 MB / 0.5836 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.11, allocations: 4 kB / 0.5836 GB, free: 12.3 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 15.421480854005495]