Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001917/0.001917, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002245/0.002245, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2862/0.2862, allocations: 44.94 MB / 358.8 MB, free: 6.039 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.002101/0.002101, allocations: 71.89 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003794/0.3529, allocations: 1.902 MB / 0.5589 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.355, allocations: 1.014 MB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3551, allocations: 0 / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.3554, allocations: 47.64 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.3558, allocations: 95.55 kB / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.356, allocations: 103.6 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.3563, allocations: 147.5 kB / 0.5602 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3564, allocations: 27.55 kB / 0.5603 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3565, allocations: 55.73 kB / 0.5603 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3566, allocations: 47.7 kB / 0.5604 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3566, allocations: 12 kB / 0.5604 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3567, allocations: 51.97 kB / 0.5604 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.3568, allocations: 23.92 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.3569, allocations: 43.67 kB / 0.5605 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.3571, allocations: 151.3 kB / 0.5606 GB, free: 3.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3571, allocations: 0 / 0.5606 GB, free: 3.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3571, allocations: 4 kB / 0.5606 GB, free: 3.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3572, allocations: 0 / 0.5606 GB, free: 3.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006609/0.3578, allocations: 415 kB / 0.561 GB, free: 3.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3578, allocations: 12.03 kB / 0.561 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.3579, allocations: 42.75 kB / 0.5611 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.3579, allocations: 16.84 kB / 0.5611 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3583, allocations: 174.9 kB / 0.5613 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3583, allocations: 4.375 kB / 0.5613 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.3583, allocations: 15.92 kB / 0.5613 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.3586, allocations: 129.9 kB / 0.5614 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3586, allocations: 3.938 kB / 0.5614 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3586, allocations: 4 kB / 0.5614 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3586, allocations: 8 kB / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3588, allocations: 47.97 kB / 0.5615 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.3595, allocations: 476 kB / 0.5619 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.3598, allocations: 82.66 kB / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3599, allocations: 40.77 kB / 0.562 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3599, allocations: 4 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.3602, allocations: 117 kB / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3602, allocations: 4 kB / 0.5622 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004067/0.3606, allocations: 149.4 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3606, allocations: 51.41 kB / 0.5624 GB, free: 1.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3608, allocations: 207.1 kB / 0.5626 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3609, allocations: 25.7 kB / 0.5626 GB, free: 1.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.3609, allocations: 116.1 kB / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.361, allocations: 31.73 kB / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.361, allocations: 29.72 kB / 0.5627 GB, free: 1.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3612, allocations: 330.8 kB / 0.5631 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.3613, allocations: 31.97 kB / 0.5631 GB, free: 1.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3614, allocations: 67.84 kB / 0.5632 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3616, allocations: 100.2 kB / 0.5633 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3616, allocations: 4 kB / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002783/0.3619, allocations: 137.4 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3619, allocations: 8.469 kB / 0.5634 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3619, allocations: 0 / 0.5634 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.3619, allocations: 15.91 kB / 0.5634 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.362, allocations: 19.94 kB / 0.5634 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.362, allocations: 7.984 kB / 0.5634 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.3621, allocations: 15.95 kB / 0.5635 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3621, allocations: 12 kB / 0.5635 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001159/0.3622, allocations: 119.9 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3622, allocations: 19.89 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.3625, allocations: 135 kB / 0.5637 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3625, allocations: 3.938 kB / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3626, allocations: 0 / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3626, allocations: 0 / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.3627, allocations: 176.7 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3627, allocations: 3.984 kB / 0.5639 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.3628, allocations: 23.94 kB / 0.5639 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3628, allocations: 0 / 0.5639 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3628, allocations: 0 / 0.5639 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3628, allocations: 3.938 kB / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3628, allocations: 0 / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.3632, allocations: 192.9 kB / 0.5641 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.3633, allocations: 19.88 kB / 0.5641 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3633, allocations: 7.984 kB / 0.5641 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.3634, allocations: 8 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3634, allocations: 15.98 kB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3634, allocations: 0 / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3636, allocations: 147.2 kB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.3638, allocations: 31.92 kB / 0.5643 GB, free: 15.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002127/0.3659, allocations: 1.057 MB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.3662, allocations: 87.78 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3662, allocations: 0 / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3663, allocations: 39.97 kB / 0.5655 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.3666, allocations: 41.28 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3687, allocations: 1.768 MB / 0.5673 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.3688, allocations: 105.8 kB / 0.5674 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.747e-05/0.3689, allocations: 21.34 kB / 0.5674 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.369, allocations: 43.42 kB / 0.5674 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.369, allocations: 4 kB / 0.5674 GB, free: 12.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4004, allocations: 4.555 MB / 0.5719 GB, free: 8.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 11.12 kB / 0.5719 GB, free: 8.039 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 14.952849838882685]