Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001273/0.001273, allocations: 113.8 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.001355/0.001355, allocations: 179.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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2181/0.2181, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3606, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002864/0.3635, allocations: 1.708 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3648, allocations: 0.8733 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.3649, allocations: 0.9375 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.3652, allocations: 50.36 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.3655, allocations: 64.72 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3657, allocations: 105.6 kB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.3659, allocations: 94.97 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.366, allocations: 12.95 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.3661, allocations: 44.41 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.3662, allocations: 30.61 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3662, allocations: 4.031 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3663, allocations: 41.36 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.3664, allocations: 40.36 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3665, allocations: 33.98 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3667, allocations: 129.2 kB / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3667, allocations: 0 / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3667, allocations: 3.938 kB / 0.5217 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3667, allocations: 5.156 kB / 0.5217 GB, free: 1.191 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.0005151/0.3673, allocations: 439.4 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3673, allocations: 10.75 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.3673, allocations: 36.58 kB / 0.5221 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.3674, allocations: 14.53 kB / 0.5221 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3676, allocations: 224.1 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3676, allocations: 384 / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3677, allocations: 6.406 kB / 0.5224 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3678, allocations: 58.44 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3678, allocations: 0.5625 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3679, allocations: 1.125 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3679, allocations: 1.062 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.3679, allocations: 26.17 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.3683, allocations: 293.3 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3684, allocations: 60.84 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.3685, allocations: 19.52 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3685, allocations: 2.016 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3687, allocations: 65.19 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3687, allocations: 3.938 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000568/0.3693, allocations: 179.9 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3693, allocations: 69.11 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.3696, allocations: 265.8 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3696, allocations: 26.86 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.3697, allocations: 115.1 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3697, allocations: 26.7 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3698, allocations: 21.48 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3699, allocations: 329.9 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.37, allocations: 25.11 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.3701, allocations: 38.97 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3702, allocations: 53.34 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3702, allocations: 3.938 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.3704, allocations: 103.8 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3704, allocations: 4.953 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3705, allocations: 1.031 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3705, allocations: 5.125 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.3706, allocations: 19.56 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3706, allocations: 2.578 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.3706, allocations: 6.516 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3707, allocations: 2.469 kB / 0.5241 GB, free: 15.07 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.0001234/0.3708, allocations: 136 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3708, allocations: 15.73 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.3709, allocations: 24.11 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3709, allocations: 4 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3709, allocations: 5.078 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3709, allocations: 4.594 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.3714, allocations: 401.6 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3714, allocations: 2.125 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.3715, allocations: 7.922 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3715, allocations: 5.875 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3715, allocations: 10.55 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3715, allocations: 1.094 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3715, allocations: 5.156 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3718, allocations: 205.5 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.3718, allocations: 93.36 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3719, allocations: 11.25 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.3719, allocations: 3.078 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.372, allocations: 10.73 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.372, allocations: 3.625 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3722, allocations: 204 kB / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3722, allocations: 0 / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3725, allocations: 27.45 kB / 0.5252 GB, free: 14.14 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.002119/0.3746, allocations: 1.094 MB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3748, allocations: 62.03 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3748, allocations: 64 / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.3749, allocations: 31.28 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3753, allocations: 29.39 kB / 0.5264 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3773, allocations: 1.811 MB / 0.5282 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3777, allocations: 0.7231 MB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.3778, allocations: 12.88 kB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.3779, allocations: 40.03 kB / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3779, allocations: 1.406 kB / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.4058, allocations: 3.716 MB / 0.5326 GB, free: 9.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.251, allocations: 5.031 kB / 0.5326 GB, free: 9.453 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_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_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches