Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001295/0.001295, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001851/0.001852, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2085/0.2085, allocations: 44.2 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.366, allocations: 60.82 MB / 0.5184 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002448/0.3685, allocations: 1.586 MB / 0.52 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.3692, allocations: 405.7 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.3693, allocations: 1.344 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.3699, allocations: 444.1 kB / 0.5208 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.3703, allocations: 261.8 kB / 0.5211 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.3707, allocations: 118.2 kB / 0.5212 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.3709, allocations: 166.7 kB / 0.5213 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.371, allocations: 11.14 kB / 0.5213 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3712, allocations: 108 kB / 0.5214 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.3714, allocations: 206.3 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3714, allocations: 6.906 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.3715, allocations: 23.98 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/0.3716, allocations: 85.3 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.3717, allocations: 95.17 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.372, allocations: 253.8 kB / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.372, allocations: 0 / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.372, allocations: 0 / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.372, 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.0005966/0.3726, allocations: 0.6516 MB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3727, allocations: 9.25 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.3727, allocations: 32.53 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.3728, allocations: 46.75 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.373, allocations: 307.3 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.373, allocations: 1.875 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.373, allocations: 1.75 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3732, allocations: 56.78 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3732, allocations: 0 / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3732, allocations: 1.812 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3732, allocations: 0 / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3733, allocations: 33.59 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3737, allocations: 382.9 kB / 0.5235 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3738, allocations: 36.48 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.3739, allocations: 22.14 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3739, allocations: 1.562 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.3739, allocations: 36.8 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3739, allocations: 0 / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003147/0.3742, allocations: 119.6 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3743, allocations: 53.42 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.3751, allocations: 0.8603 MB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3752, allocations: 25.7 kB / 0.5247 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3753, allocations: 218.2 kB / 0.5249 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3754, allocations: 13.86 kB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.3754, allocations: 13.31 kB / 0.5249 GB, free: 15.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3755, allocations: 365 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.3756, allocations: 13.09 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.3757, allocations: 16.19 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3758, allocations: 39.05 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3758, allocations: 0 / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001895/0.376, allocations: 118.2 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.376, allocations: 4.922 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.376, allocations: 1.375 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.376, allocations: 3.938 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/0.3761, allocations: 12.83 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3761, allocations: 0.7031 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.3762, allocations: 9.25 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3762, allocations: 1.891 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 (3): * Single equations (assignments): 3 * 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.0001704/0.3764, allocations: 210.9 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.3765, allocations: 42.3 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.3767, allocations: 123.9 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3767, allocations: 1.375 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3767, allocations: 0 / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3767, allocations: 0.5156 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.3771, allocations: 293.8 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3771, allocations: 0 / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.3771, allocations: 9.031 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3771, allocations: 0 / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.3771, allocations: 1.375 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3771, allocations: 0.6094 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3772, allocations: 0 / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.3774, allocations: 206.7 kB / 0.5263 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.3775, allocations: 115.9 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3775, allocations: 0.6562 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.3776, allocations: 10.17 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3776, allocations: 2.688 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3776, allocations: 1.375 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.3783, allocations: 0.6498 MB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3783, allocations: 0 / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3785, allocations: 23.5 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 (3): * Single equations (assignments): 3 * 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.001135/0.3797, allocations: 0.989 MB / 0.5281 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3798, allocations: 40.83 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3799, allocations: 1.281 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.3799, allocations: 19.64 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3803, allocations: 24.58 kB / 0.5281 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3837, allocations: 3.129 MB / 0.5312 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3841, allocations: 0.829 MB / 0.532 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.3842, allocations: 3.719 kB / 0.532 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3843, allocations: 107.5 kB / 0.5321 GB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3843, allocations: 0 / 0.5321 GB, free: 10.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.4068, allocations: 5.772 MB / 0.5377 GB, free: 7.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.557, allocations: 2.375 kB / 0.5378 GB, free: 7.242 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_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_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches