Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001294/0.001294, 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.001439/0.001439, allocations: 215.8 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.502/1.502, 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.2388/0.2388, allocations: 44.91 MB / 358.8 MB, free: 6.281 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.002141/0.002141, allocations: 75.84 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.424, allocations: 65.46 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003652/0.4277, allocations: 1.735 MB / 0.5588 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4297, allocations: 1.056 MB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.4298, allocations: 4 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.4301, allocations: 39.77 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.4305, allocations: 103.5 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4307, allocations: 79.67 kB / 0.56 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.431, allocations: 107.7 kB / 0.5601 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4311, allocations: 5.828 kB / 0.5601 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.4312, allocations: 55.72 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.4313, allocations: 27.84 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4313, allocations: 4 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.4314, allocations: 39.98 kB / 0.5603 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.4315, allocations: 19.92 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.4315, allocations: 43.67 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.4318, allocations: 119.5 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4318, allocations: 4 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.4318, allocations: 3.984 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4318, allocations: 3.938 kB / 0.5604 GB, free: 4.277 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006353/0.4324, allocations: 337.6 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4325, allocations: 12.03 kB / 0.5608 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.4325, allocations: 38.73 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4326, allocations: 8.891 kB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.4329, allocations: 158.9 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4329, allocations: 8.375 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.433, allocations: 3.938 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.4331, allocations: 53.67 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4331, allocations: 4 kB / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4332, allocations: 0 / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4332, allocations: 0 / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.4332, allocations: 19.98 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.4336, allocations: 260 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.4338, allocations: 58.55 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.4339, allocations: 20.91 kB / 0.5614 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4339, allocations: 4 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.4341, allocations: 63.39 kB / 0.5615 GB, free: 3.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4341, allocations: 4 kB / 0.5615 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006023/0.4347, allocations: 177.3 kB / 0.5616 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.4347, allocations: 59.34 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.435, allocations: 198.2 kB / 0.5619 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.435, allocations: 33.7 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.4351, allocations: 100.1 kB / 0.562 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.4351, allocations: 31.72 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.4352, allocations: 17.72 kB / 0.562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4354, allocations: 334.8 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.4354, allocations: 16 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.4355, allocations: 37.7 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4356, allocations: 61.77 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.4356, allocations: 0 / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.4358, allocations: 105.5 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4358, allocations: 8 kB / 0.5626 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4358, allocations: 0 / 0.5626 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4359, allocations: 0 / 0.5626 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.436, allocations: 19.98 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.436, allocations: 4.312 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.436, allocations: 7.938 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.436, allocations: 4 kB / 0.5626 GB, free: 1.848 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 (10): * Single equations (assignments): 10 * 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.0001175/0.4362, allocations: 129.8 kB / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4362, allocations: 23.94 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.4364, allocations: 107.1 kB / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4364, allocations: 0 / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4365, allocations: 0 / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.4365, allocations: 7.875 kB / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.437, allocations: 358.5 kB / 0.5632 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.437, allocations: 0 / 0.5632 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.437, allocations: 15.92 kB / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.437, allocations: 11.97 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.437, allocations: 4 kB / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.437, allocations: 0 / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.437, allocations: 0 / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4373, allocations: 204.3 kB / 0.5634 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.4373, allocations: 7.953 kB / 0.5634 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.4373, allocations: 15.86 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.4374, allocations: 4 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.4374, allocations: 12.11 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4374, allocations: 4 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4376, allocations: 152.2 kB / 0.5636 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4376, allocations: 0 / 0.5636 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.4379, allocations: 23.94 kB / 0.5637 GB, free: 0.6914 MB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.002259/0.4401, allocations: 1.092 MB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4403, allocations: 55.92 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4403, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.4404, allocations: 27.92 kB / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.4408, allocations: 34.22 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.4428, allocations: 1.661 MB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4431, allocations: 0.7119 MB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.643e-05/0.4432, allocations: 13.28 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.4432, allocations: 35.42 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4432, allocations: 0 / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4747, allocations: 3.632 MB / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.44, allocations: 7.812 kB / 0.5707 GB, free: 9.535 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.669627231996856]