Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001442/0.001442, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001875/0.001875, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2205/0.2205, allocations: 44.94 MB / 358.8 MB, free: 6.066 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.002113/0.002113, allocations: 71.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003742/0.354, allocations: 1.791 MB / 0.5588 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.356, allocations: 1.038 MB / 0.5598 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.3561, allocations: 4 kB / 0.5598 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.3567, allocations: 303.2 kB / 0.5601 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005178/0.3572, allocations: 259.2 kB / 0.5603 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3575, allocations: 107.7 kB / 0.5604 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.3578, allocations: 263.2 kB / 0.5607 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.3579, allocations: 9.812 kB / 0.5607 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3581, allocations: 131.5 kB / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.3583, allocations: 208 kB / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.3584, allocations: 8 kB / 0.561 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3585, allocations: 55.92 kB / 0.5611 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3587, allocations: 132.5 kB / 0.5612 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3588, allocations: 111.1 kB / 0.5613 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.3593, allocations: 372.1 kB / 0.5617 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3593, allocations: 0 / 0.5617 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3593, allocations: 3.938 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.3593, allocations: 0 / 0.5617 GB, free: 2.797 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.001076/0.3603, allocations: 0.6786 MB / 0.5623 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3604, allocations: 12.03 kB / 0.5623 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.3604, allocations: 34.73 kB / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3605, allocations: 52.61 kB / 0.5624 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.3612, allocations: 390.6 kB / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3613, allocations: 4.375 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3613, allocations: 7.938 kB / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.3615, allocations: 91.3 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3615, allocations: 0 / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3615, allocations: 0 / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3615, allocations: 0 / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3617, allocations: 35.97 kB / 0.5629 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3621, allocations: 333.5 kB / 0.5632 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.3624, allocations: 113.1 kB / 0.5633 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.3625, allocations: 37.7 kB / 0.5634 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3625, allocations: 3.984 kB / 0.5634 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3627, allocations: 113 kB / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3627, allocations: 0 / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004993/0.3632, allocations: 213.2 kB / 0.5637 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.3633, allocations: 89.05 kB / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.3646, allocations: 1.026 MB / 0.5648 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3646, allocations: 33.7 kB / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.3648, allocations: 232.1 kB / 0.565 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.3648, allocations: 23.84 kB / 0.5651 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.3649, allocations: 29.72 kB / 0.5651 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3651, allocations: 366.8 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3652, allocations: 31.97 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3653, allocations: 67.42 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.3655, allocations: 91.34 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3655, allocations: 3.938 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003381/0.3659, allocations: 181.7 kB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3659, allocations: 8 kB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3659, allocations: 0 / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3659, allocations: 4 kB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.366, allocations: 28.05 kB / 0.5658 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.366, allocations: 0 / 0.5658 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3661, allocations: 15.89 kB / 0.5659 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3661, allocations: 4 kB / 0.5659 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.0002654/0.3664, allocations: 225.6 kB / 0.5661 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.3665, allocations: 51.67 kB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.3669, allocations: 201.8 kB / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.3669, allocations: 0 / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3669, allocations: 0 / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3669, allocations: 11.98 kB / 0.5663 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.3673, allocations: 288.5 kB / 0.5666 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3673, allocations: 0 / 0.5666 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.3673, allocations: 15.98 kB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3673, allocations: 0 / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3674, allocations: 0 / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3674, allocations: 4 kB / 0.5666 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3674, allocations: 0 / 0.5666 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.3678, allocations: 229.4 kB / 0.5668 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3679, allocations: 67.59 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.368, allocations: 4.188 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.3681, allocations: 11.98 kB / 0.5669 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3681, allocations: 11.98 kB / 0.5669 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3681, allocations: 11.94 kB / 0.5669 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009856/0.3691, allocations: 0.7682 MB / 0.5677 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3691, allocations: 0 / 0.5677 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3694, allocations: 44 kB / 0.5677 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.002356/0.3717, allocations: 1.097 MB / 0.5688 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.372, allocations: 87.89 kB / 0.5689 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.372, allocations: 4 kB / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3722, allocations: 40.3 kB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3726, allocations: 83.88 kB / 0.569 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.3786, allocations: 4.495 MB / 0.5734 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3789, allocations: 241.8 kB / 0.5736 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.379, allocations: 54.94 kB / 0.5737 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3792, allocations: 147.4 kB / 0.5738 GB, free: 6.031 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3792, allocations: 0 / 0.5738 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.4182, allocations: 9.837 MB / 0.5834 GB, free: 12.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 10.89 kB / 0.5834 GB, free: 12.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.071545926854014]