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.001278/0.001278, allocations: 113.2 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.00129/0.00129, allocations: 184.2 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.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2315/0.2315, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3589, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002517/0.3615, allocations: 1.583 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005882/0.3621, allocations: 407.7 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.3621, allocations: 1.5 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.3627, allocations: 449.3 kB / 0.5208 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3631, allocations: 257.3 kB / 0.5211 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.3634, allocations: 122.7 kB / 0.5212 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3636, allocations: 161.4 kB / 0.5213 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.3637, allocations: 11.61 kB / 0.5213 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3639, allocations: 107.5 kB / 0.5214 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.3641, allocations: 206.5 kB / 0.5216 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3641, allocations: 3.312 kB / 0.5216 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.484e-05/0.3642, allocations: 23.42 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.3643, allocations: 81.45 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.3644, allocations: 99.56 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.3647, allocations: 249.5 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3647, allocations: 4 kB / 0.5221 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3647, allocations: 1.125 kB / 0.5221 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3647, allocations: 0 / 0.5221 GB, free: 1.52 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.0005823/0.3653, allocations: 0.6512 MB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3653, allocations: 9.25 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.3654, allocations: 32.83 kB / 0.5228 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3654, allocations: 42.69 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3656, allocations: 307.4 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3656, allocations: 8.375 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.3656, allocations: 2.188 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3658, allocations: 60.55 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3658, allocations: 1.156 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3658, allocations: 0.5156 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3658, allocations: 1 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3659, allocations: 33.22 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3663, allocations: 381.7 kB / 0.5236 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3664, allocations: 41.94 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.3665, allocations: 22.58 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3665, allocations: 0 / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3665, allocations: 32.75 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3666, allocations: 0 / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003031/0.3669, allocations: 126.3 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3669, allocations: 51.41 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.3678, allocations: 0.8578 MB / 0.5247 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3678, allocations: 25.7 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.368, allocations: 216.3 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.368, allocations: 9.844 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.368, allocations: 17.83 kB / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3682, allocations: 364.9 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.3683, allocations: 13.05 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.3683, allocations: 15.91 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3685, allocations: 35.38 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3685, allocations: 0 / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002141/0.3687, allocations: 114.4 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3687, allocations: 5.5 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3687, allocations: 0.6562 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3687, allocations: 3.984 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.3688, allocations: 12.88 kB / 0.5255 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.3688, allocations: 1.984 kB / 0.5255 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.3689, allocations: 4.203 kB / 0.5255 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3689, allocations: 1.344 kB / 0.5255 GB, free: 15.01 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.000194/0.3691, allocations: 220 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.3692, allocations: 41.09 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3694, allocations: 121 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3694, allocations: 0 / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3695, allocations: 0.5625 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3695, allocations: 1.25 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3698, allocations: 292.2 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3698, allocations: 0 / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.3699, allocations: 13.41 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3699, allocations: 0.7969 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3699, allocations: 1.156 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3699, allocations: 3.938 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3699, allocations: 1.062 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3702, allocations: 202.9 kB / 0.5263 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.3703, allocations: 111.6 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.3703, allocations: 8.656 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.3704, allocations: 9.312 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.3704, allocations: 3.531 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3704, allocations: 1.125 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006323/0.3711, allocations: 0.6489 MB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3711, allocations: 0 / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.3713, allocations: 27.64 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.001674/0.373, allocations: 0.9731 MB / 0.5281 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3732, allocations: 44.95 kB / 0.5281 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3732, allocations: 0 / 0.5281 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.3733, allocations: 19.89 kB / 0.5281 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3737, allocations: 28.11 kB / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.3772, allocations: 3.126 MB / 0.5312 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.3778, allocations: 0.8247 MB / 0.532 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.3778, allocations: 8.188 kB / 0.532 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.378, allocations: 110.6 kB / 0.5321 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.378, allocations: 1.531 kB / 0.5321 GB, free: 10.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.4067, allocations: 5.762 MB / 0.5377 GB, free: 7.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.779, allocations: 2.344 kB / 0.5377 GB, free: 7.258 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