Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001723/0.001723, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.002047/0.002048, 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.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2225/0.2225, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3556, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002966/0.3586, allocations: 1.709 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3601, allocations: 0.8743 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.3602, allocations: 5.469 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.3606, allocations: 75.25 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3609, allocations: 78.69 kB / 0.5212 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3612, allocations: 108.5 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3614, allocations: 106.9 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3616, allocations: 16.39 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3617, allocations: 54.77 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3618, allocations: 49.94 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3618, allocations: 3 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3619, allocations: 47.16 kB / 0.5216 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.362, allocations: 19.75 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3621, allocations: 33.95 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3623, allocations: 126.6 kB / 0.5217 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3623, allocations: 0 / 0.5217 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3623, allocations: 0.7031 kB / 0.5217 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3624, allocations: 4 kB / 0.5217 GB, free: 1.215 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005272/0.3629, allocations: 425.2 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3629, allocations: 10.69 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.363, allocations: 36.7 kB / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.363, allocations: 13.22 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.3633, allocations: 209.2 kB / 0.5224 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3633, allocations: 5.844 kB / 0.5224 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3634, allocations: 9.922 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3635, allocations: 62.38 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3635, allocations: 0 / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3636, allocations: 1.797 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3636, allocations: 0 / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.3637, allocations: 22.72 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.364, allocations: 284 kB / 0.5228 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3642, allocations: 65.61 kB / 0.5228 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3642, allocations: 18.89 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3643, allocations: 5.266 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.3644, allocations: 66.33 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3644, allocations: 0 / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.365, allocations: 181 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3651, allocations: 57.14 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3653, allocations: 218.6 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3653, allocations: 27.69 kB / 0.5234 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.3654, allocations: 108.7 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.3655, allocations: 21.78 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3655, allocations: 21.53 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3657, allocations: 323.7 kB / 0.5238 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.3657, allocations: 21.12 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/0.3658, allocations: 43.08 kB / 0.5239 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.366, allocations: 57.58 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.366, allocations: 1.281 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.3662, allocations: 101.2 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3662, allocations: 6.516 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3662, allocations: 0 / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3662, allocations: 5.312 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.3663, allocations: 15.27 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3663, allocations: 1.219 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.3664, allocations: 11.56 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3664, allocations: 2.281 kB / 0.5241 GB, free: 15.14 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.0001285/0.3665, allocations: 128 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3666, allocations: 14.45 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3666, allocations: 26.11 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3666, allocations: 0 / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3666, allocations: 5.438 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3667, allocations: 4.734 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.3672, allocations: 392.8 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3672, allocations: 0 / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.3672, allocations: 12.77 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3672, allocations: 5.391 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3673, allocations: 2.75 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3673, allocations: 1.781 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3673, allocations: 4.031 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3675, allocations: 209.9 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.3676, allocations: 84.58 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3677, allocations: 7.578 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.3677, allocations: 2.609 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3678, allocations: 10.08 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3678, allocations: 11.33 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.368, allocations: 156.7 kB / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.368, allocations: 0 / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3683, allocations: 26.55 kB / 0.5251 GB, free: 14.23 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.00218/0.3705, allocations: 1.098 MB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3707, allocations: 61.62 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3707, allocations: 0 / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.3708, allocations: 36.66 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3711, allocations: 33.45 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3731, allocations: 1.687 MB / 0.528 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.3735, allocations: 0.7114 MB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.3736, allocations: 21.28 kB / 0.5287 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.3737, allocations: 34.81 kB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3737, allocations: 1.375 kB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3997, allocations: 3.495 MB / 0.5321 GB, free: 9.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.237, allocations: 4.875 kB / 0.5322 GB, free: 9.695 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches