Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001596/0.001596, 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.002048/0.002048, allocations: 212 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.266 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.00216/0.00216, allocations: 59.91 kB / 0.4931 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4251, allocations: 65.48 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003936/0.429, allocations: 1.699 MB / 0.5587 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.4309, allocations: 1.022 MB / 0.5597 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.431, allocations: 3.938 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.4314, allocations: 63.77 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.4317, allocations: 107.5 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.4319, allocations: 71.75 kB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.4321, allocations: 111.6 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.4322, allocations: 8.219 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.4323, allocations: 51.78 kB / 0.5601 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4324, allocations: 51.77 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.4324, allocations: 3.938 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.4325, allocations: 39.92 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.4326, allocations: 15.92 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.4326, allocations: 31.8 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.4329, allocations: 109.3 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4329, allocations: 4 kB / 0.5604 GB, free: 4.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4329, allocations: 0 / 0.5604 GB, free: 4.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4329, allocations: 0 / 0.5604 GB, free: 4.352 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005805/0.4335, allocations: 341.6 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4335, allocations: 8.031 kB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.4336, allocations: 42.67 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.4336, allocations: 12.84 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.4339, allocations: 143.1 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4339, allocations: 4.375 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4339, allocations: 3.938 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4341, allocations: 49.67 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4341, allocations: 4 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.4341, allocations: 0 / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4341, allocations: 0 / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.4342, allocations: 19.92 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.4344, allocations: 156.7 kB / 0.5611 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.4346, allocations: 46.56 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.4346, allocations: 24.84 kB / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4347, allocations: 0 / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.4348, allocations: 67.39 kB / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.4348, allocations: 0 / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003109/0.4351, allocations: 101.5 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4352, allocations: 55.39 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.4354, allocations: 194.3 kB / 0.5616 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4354, allocations: 33.69 kB / 0.5616 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.4355, allocations: 96.14 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.4355, allocations: 23.81 kB / 0.5618 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.4356, allocations: 17.72 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4357, allocations: 326.8 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.4358, allocations: 12.25 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.4358, allocations: 29.7 kB / 0.5621 GB, free: 2.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.4359, allocations: 53.64 kB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4359, allocations: 3.938 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001703/0.4361, allocations: 81.53 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4361, allocations: 8 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4361, allocations: 0 / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4362, allocations: 0 / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.4362, allocations: 15.92 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4362, allocations: 8.031 kB / 0.5623 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.4363, allocations: 4 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.4363, allocations: 4 kB / 0.5623 GB, free: 2.195 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 (7): * Single equations (assignments): 7 * 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.0001149/0.4364, allocations: 129.7 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.4364, allocations: 7.953 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.4366, allocations: 94.84 kB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4366, allocations: 0 / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4366, allocations: 4 kB / 0.5625 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4366, allocations: 4 kB / 0.5625 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4368, allocations: 164.6 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4368, allocations: 0 / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.4368, allocations: 4 kB / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4368, allocations: 0 / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4368, allocations: 0 / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4368, allocations: 0 / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4368, allocations: 128 / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.437, allocations: 121 kB / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.4371, allocations: 7.953 kB / 0.5628 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4371, allocations: 7.984 kB / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.4371, allocations: 3.938 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.4372, allocations: 8 kB / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4372, allocations: 0 / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4373, allocations: 148.2 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4373, allocations: 0 / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000216/0.4375, allocations: 19.92 kB / 0.563 GB, free: 1.398 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001933/0.4394, allocations: 0.9532 MB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.4396, allocations: 39.92 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4396, allocations: 0 / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.4397, allocations: 16 kB / 0.564 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.44, allocations: 36.89 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.4419, allocations: 1.506 MB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.4423, allocations: 0.7002 MB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.4424, allocations: 12.48 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.4424, allocations: 35.42 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4424, allocations: 0 / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.4734, allocations: 3.324 MB / 0.5694 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.28, allocations: 10.33 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.507048035993648]