Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.002086/0.002086, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002391/0.002391, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2619/0.2619, allocations: 44.92 MB / 358.8 MB, free: 6.273 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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.002066/0.002066, allocations: 70.39 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 65.48 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003493/0.3753, allocations: 1.847 MB / 0.5589 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.3786, allocations: 1.801 MB / 0.5606 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.3787, allocations: 3.938 kB / 0.5606 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.379, allocations: 59.62 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.3794, allocations: 131.4 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3797, allocations: 111.6 kB / 0.5609 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.38, allocations: 207.3 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.38, allocations: 5.812 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.3802, allocations: 99.56 kB / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.3805, allocations: 83.67 kB / 0.5613 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.3805, allocations: 11.94 kB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.3807, allocations: 119.9 kB / 0.5614 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.3808, allocations: 31.91 kB / 0.5615 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.29e-05/0.3809, allocations: 63.53 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3812, allocations: 232.9 kB / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3812, allocations: 0 / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3812, allocations: 0 / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3812, allocations: 4 kB / 0.5618 GB, free: 2.93 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.0007534/0.382, allocations: 429 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.382, allocations: 8.031 kB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.3821, allocations: 46.62 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.3822, allocations: 16.84 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.3826, allocations: 194.1 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3826, allocations: 384 / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3827, allocations: 11.94 kB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3829, allocations: 101 kB / 0.5625 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3829, allocations: 4 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3829, allocations: 0 / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3829, allocations: 0 / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3831, allocations: 27.98 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3834, allocations: 189.6 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3836, allocations: 109.1 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.821e-05/0.3837, allocations: 41.67 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3838, allocations: 0 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.384, allocations: 113 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.384, allocations: 0 / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005047/0.3845, allocations: 169.9 kB / 0.5631 GB, free: 1.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3846, allocations: 132.5 kB / 0.5633 GB, free: 1.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3849, allocations: 236.2 kB / 0.5635 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3849, allocations: 37.64 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.385, allocations: 124.1 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3851, allocations: 27.75 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.3851, allocations: 33.7 kB / 0.5637 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3853, allocations: 326.8 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3854, allocations: 32.05 kB / 0.5641 GB, free: 336 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3855, allocations: 77.12 kB / 0.5641 GB, free: 240 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3857, allocations: 87.36 kB / 0.5642 GB, free: 140 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3857, allocations: 3.938 kB / 0.5642 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003116/0.386, allocations: 141.6 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.386, allocations: 4 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.386, allocations: 4 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3861, allocations: 0 / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3862, allocations: 23.92 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3862, allocations: 4 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.3863, allocations: 11.95 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3863, allocations: 4 kB / 0.5644 GB, free: 15.93 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001425/0.3864, allocations: 142.2 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3865, allocations: 19.91 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.3868, allocations: 150.9 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3868, allocations: 0 / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3868, allocations: 4 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3869, allocations: 3.984 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.3871, allocations: 196.5 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3871, allocations: 0 / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.3871, allocations: 12 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3871, allocations: 0 / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3871, allocations: 11.98 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3871, allocations: 0 / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3871, allocations: 0 / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.3874, allocations: 169.7 kB / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3875, allocations: 15.91 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.3875, allocations: 7.984 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3877, allocations: 4 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3877, allocations: 11.98 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.3877, allocations: 8 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.388, allocations: 177.9 kB / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.388, allocations: 3.938 kB / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3883, allocations: 47.88 kB / 0.5653 GB, free: 14.88 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.002392/0.3907, allocations: 1.12 MB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.3909, allocations: 75.97 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3909, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3911, allocations: 40.17 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3914, allocations: 60.02 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.3939, allocations: 1.892 MB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3943, allocations: 0.7203 MB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3944, allocations: 37.55 kB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3945, allocations: 55.41 kB / 0.5692 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3945, allocations: 4 kB / 0.5692 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.4292, allocations: 5.515 MB / 0.5746 GB, free: 5.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 0 / 0.5746 GB, free: 5.461 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.808295194998209]