Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001727/0.001727, allocations: 105.8 kB / 17.78 MB, free: 5.266 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.001859/0.00186, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.515/1.515, 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.2176/0.2176, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3616, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002558/0.3642, allocations: 1.58 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.3648, allocations: 430.5 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.3649, allocations: 1.062 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.3655, allocations: 450.4 kB / 0.5208 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.3659, allocations: 257.3 kB / 0.5211 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3664, allocations: 168.7 kB / 0.5212 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3666, allocations: 158.3 kB / 0.5214 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.3667, allocations: 8.75 kB / 0.5214 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3668, allocations: 111.5 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3671, allocations: 205.6 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3671, allocations: 6.438 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.3672, allocations: 26.8 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.3673, allocations: 82.22 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.3673, allocations: 99.92 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.3676, allocations: 248.9 kB / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3677, allocations: 2.234 kB / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3677, allocations: 0 / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3677, allocations: 0 / 0.5221 GB, free: 1.488 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005542/0.3682, allocations: 0.6466 MB / 0.5228 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3683, allocations: 9.594 kB / 0.5228 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.383e-05/0.3683, allocations: 36.36 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3684, allocations: 43.42 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3686, allocations: 307.9 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3686, allocations: 1.562 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3686, allocations: 1.5 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3687, allocations: 58.73 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3688, allocations: 0 / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3688, allocations: 5.906 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3688, allocations: 0 / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.3689, allocations: 22.62 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.3693, allocations: 387.5 kB / 0.5236 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.3694, allocations: 31.81 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.3694, allocations: 13.62 kB / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3695, allocations: 9.641 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.3695, allocations: 39.36 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3695, allocations: 1.094 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002474/0.3697, allocations: 102.7 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3698, allocations: 52.66 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.3707, allocations: 0.8695 MB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3707, allocations: 29.83 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3709, allocations: 225.8 kB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3709, allocations: 2.078 kB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.371, allocations: 13.03 kB / 0.5249 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3712, allocations: 367.3 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.3712, allocations: 7.422 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.3713, allocations: 7.281 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.3714, allocations: 35.64 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3714, allocations: 0 / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.3716, allocations: 105.2 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3716, allocations: 5.5 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3716, allocations: 0.7969 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3716, allocations: 0 / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.3717, allocations: 5.438 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3717, allocations: 1.375 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3718, allocations: 6.766 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3718, allocations: 1.375 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0002226/0.372, allocations: 211.6 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.3721, allocations: 42.97 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3723, allocations: 114.5 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3723, allocations: 0 / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3723, allocations: 1.375 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3723, allocations: 0.8438 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.3727, allocations: 292.4 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3727, allocations: 0 / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.3727, allocations: 5.516 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3727, allocations: 0 / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.3728, allocations: 1.406 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3728, allocations: 4.594 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3728, allocations: 1.406 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.373, allocations: 191.1 kB / 0.5263 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.3731, allocations: 116.6 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3731, allocations: 1.75 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3732, allocations: 5.922 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3733, allocations: 2.625 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3733, allocations: 1.312 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007253/0.374, allocations: 0.6586 MB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.374, allocations: 0 / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.3743, allocations: 22.66 kB / 0.5271 GB, free: 13.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.001702/0.376, allocations: 0.9685 MB / 0.528 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.3761, allocations: 27.67 kB / 0.528 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3761, allocations: 0 / 0.528 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.3762, allocations: 12.08 kB / 0.5281 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3766, allocations: 29.7 kB / 0.5281 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.3807, allocations: 3.142 MB / 0.5312 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.3812, allocations: 0.8286 MB / 0.532 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.3813, allocations: 19.36 kB / 0.532 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3814, allocations: 110 kB / 0.5321 GB, free: 10.19 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3814, allocations: 1.562 kB / 0.5321 GB, free: 10.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.409, allocations: 5.745 MB / 0.5377 GB, free: 7.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.974, allocations: 10.14 kB / 0.5377 GB, free: 7.262 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches