Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 112.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3519, allocations: 60.83 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002686/0.3546, allocations: 1.659 MB / 0.5201 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3558, allocations: 0.8572 MB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.3559, allocations: 0 / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3562, allocations: 50.44 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.3564, allocations: 68.84 kB / 0.5211 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3567, allocations: 102.6 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.3569, allocations: 93.16 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.3569, allocations: 4.375 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.357, allocations: 41.03 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.3571, allocations: 28.33 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3571, allocations: 3.625 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.3572, allocations: 30.55 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.3572, allocations: 30.16 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.3573, allocations: 37.91 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.3575, allocations: 113.5 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3575, allocations: 0.8438 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3575, allocations: 0 / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3575, allocations: 1.188 kB / 0.5215 GB, free: 1.254 MB / 382.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.0004872/0.358, allocations: 439.6 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3581, allocations: 9.688 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.3581, allocations: 32.52 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.3582, allocations: 11.61 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3584, allocations: 221.2 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3584, allocations: 6.109 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3584, allocations: 6.219 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.3586, allocations: 50.16 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3586, allocations: 1.062 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3586, allocations: 0 / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3586, allocations: 1.812 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.3587, allocations: 19.02 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.3588, allocations: 193.7 kB / 0.5225 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.359, allocations: 52.27 kB / 0.5225 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3591, allocations: 19.84 kB / 0.5226 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3591, allocations: 2.125 kB / 0.5226 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3592, allocations: 71.05 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.344e-06/0.3593, allocations: 1.312 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002684/0.3595, allocations: 101 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.3596, allocations: 53.33 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3599, allocations: 257.8 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3599, allocations: 26.45 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.36, allocations: 114.5 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.36, allocations: 19.58 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.3601, allocations: 24.19 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3602, allocations: 325.1 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.3603, allocations: 12.44 kB / 0.5235 GB, free: 15.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.3604, allocations: 35.55 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3605, allocations: 43.45 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3605, allocations: 3.938 kB / 0.5236 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.3606, allocations: 97.45 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3607, allocations: 5.328 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3607, allocations: 0 / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3607, allocations: 1.828 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.3608, allocations: 10.08 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3608, allocations: 1.859 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.3608, allocations: 2.891 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3608, allocations: 2.25 kB / 0.5237 GB, free: 15.3 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.0001202/0.361, allocations: 141.2 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.361, allocations: 14.66 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.361, allocations: 18.56 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3611, allocations: 1.094 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3611, allocations: 0.7969 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3611, allocations: 0 / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3613, allocations: 197.9 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3613, allocations: 0.5625 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.3613, allocations: 8.016 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3613, allocations: 1.125 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3613, allocations: 5.938 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3613, allocations: 7.938 kB / 0.5241 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3613, allocations: 0.5625 kB / 0.5241 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.3615, allocations: 110.4 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.3616, allocations: 89.75 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3616, allocations: 1.859 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.3617, allocations: 5.766 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3617, allocations: 4.328 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3617, allocations: 6.891 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.3619, allocations: 199.5 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3619, allocations: 5.312 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.3621, allocations: 21.47 kB / 0.5245 GB, free: 14.61 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001804/0.3639, allocations: 0.9576 MB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.3641, allocations: 43.77 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3641, allocations: 1.188 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.3642, allocations: 18.19 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3645, allocations: 31.33 kB / 0.5255 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3663, allocations: 1.651 MB / 0.5272 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3666, allocations: 0.7195 MB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.3667, allocations: 11.77 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.3667, allocations: 36.69 kB / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3668, allocations: 0 / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3921, allocations: 3.41 MB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.326, allocations: 9.219 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches