Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001568/0.001568, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00154/0.00154, allocations: 180.2 kB / 18.71 MB, free: 4.207 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.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2231/0.2231, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3448, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002693/0.3475, allocations: 1.641 MB / 0.5201 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.3483, allocations: 427.8 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3484, allocations: 1.438 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.3491, allocations: 457 kB / 0.5209 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.3496, allocations: 249.3 kB / 0.5211 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.35, allocations: 129.8 kB / 0.5213 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.3503, allocations: 176.1 kB / 0.5214 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3504, allocations: 18.22 kB / 0.5215 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3506, allocations: 109.5 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3509, allocations: 212.8 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3509, allocations: 7.031 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.351, allocations: 56.42 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3512, allocations: 84.75 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.3513, allocations: 101.5 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.3516, allocations: 276.8 kB / 0.5223 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3517, allocations: 0 / 0.5223 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3517, allocations: 0 / 0.5223 GB, free: 1.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3517, allocations: 3.938 kB / 0.5223 GB, free: 1.426 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007132/0.3524, allocations: 0.6615 MB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3524, allocations: 12.66 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.3525, allocations: 43.7 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.3525, allocations: 41.19 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3528, allocations: 303.8 kB / 0.5233 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3528, allocations: 5.625 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3529, allocations: 3.656 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.353, allocations: 67.45 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3531, allocations: 1.125 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3531, allocations: 0 / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3531, allocations: 5.688 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3533, allocations: 48.44 kB / 0.5234 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.3537, allocations: 398.8 kB / 0.5238 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.354, allocations: 58.19 kB / 0.5239 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.3541, allocations: 29.62 kB / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3541, allocations: 0 / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3541, allocations: 32.73 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3541, allocations: 0 / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001566/0.3557, allocations: 478.1 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3558, allocations: 56.5 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.3567, allocations: 0.8655 MB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3568, allocations: 25.7 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.357, allocations: 217.6 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.357, allocations: 36.06 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.3571, allocations: 21.91 kB / 0.5256 GB, free: 15.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.3573, allocations: 363.5 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3575, allocations: 43.09 kB / 0.5259 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3576, allocations: 45.36 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3579, allocations: 99.53 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3579, allocations: 0 / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003739/0.3583, allocations: 183.1 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3583, allocations: 5.375 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3583, allocations: 1.281 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3583, allocations: 3.938 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3584, allocations: 27.89 kB / 0.5263 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3584, allocations: 1.438 kB / 0.5263 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.3585, allocations: 9.547 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3586, allocations: 11.06 kB / 0.5263 GB, free: 14.64 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 (11): * Single equations (assignments): 11 * 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.0002264/0.3588, allocations: 214.5 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.3589, allocations: 42.75 kB / 0.5266 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.3593, allocations: 200.4 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3594, allocations: 5.375 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3594, allocations: 1.906 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3594, allocations: 7.938 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/0.3603, allocations: 0.5687 MB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3603, allocations: 5 kB / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.3604, allocations: 23.98 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3604, allocations: 1.188 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3604, allocations: 6.156 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3604, allocations: 1.156 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3604, allocations: 1.156 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.3609, allocations: 292.1 kB / 0.5276 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.361, allocations: 119.9 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.361, allocations: 5.5 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3611, allocations: 10.33 kB / 0.5278 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3612, allocations: 5.594 kB / 0.5278 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3612, allocations: 10.64 kB / 0.5278 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006969/0.3619, allocations: 0.6472 MB / 0.5284 GB, free: 13.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3619, allocations: 0 / 0.5284 GB, free: 13.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3622, allocations: 36.56 kB / 0.5285 GB, free: 13.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00241/0.3646, allocations: 1.171 MB / 0.5296 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.365, allocations: 110.3 kB / 0.5297 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.365, allocations: 0 / 0.5297 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.3651, allocations: 62.73 kB / 0.5298 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3656, allocations: 32.8 kB / 0.5298 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.37, allocations: 3.412 MB / 0.5331 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.3705, allocations: 0.8315 MB / 0.5339 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.3706, allocations: 20.34 kB / 0.534 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3708, allocations: 110.5 kB / 0.5341 GB, free: 9.086 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3708, allocations: 1.062 kB / 0.5341 GB, free: 9.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.4004, allocations: 6.486 MB / 0.5404 GB, free: 5.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/8.917, allocations: 1.031 kB / 0.5404 GB, free: 5.418 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_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_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches