Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 79.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3427, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003182/0.346, allocations: 1.649 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.3469, allocations: 0.6872 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.3469, allocations: 0 / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.3472, allocations: 32.09 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.3474, allocations: 41.3 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.518e-06/0.3474, allocations: 0 / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3476, allocations: 39.95 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.3476, allocations: 2.875 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.3477, allocations: 8.188 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.3477, allocations: 18.89 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3478, allocations: 1.156 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.3478, allocations: 15.52 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.3479, allocations: 16.66 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.3479, allocations: 20.03 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3481, allocations: 67.61 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3481, allocations: 3.984 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3481, allocations: 5.094 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3481, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004332/0.3485, allocations: 371.9 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3486, allocations: 10.19 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.3486, allocations: 33.59 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3487, allocations: 7.547 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3488, allocations: 184 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3489, allocations: 1.625 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3489, allocations: 1.656 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3491, allocations: 130.5 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3491, allocations: 3.938 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3491, allocations: 1.406 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.3492, allocations: 18.39 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.3493, allocations: 51.53 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.35, allocations: 0.8831 MB / 0.5347 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.3501, allocations: 174.4 kB / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.3502, allocations: 88.06 kB / 0.535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3502, allocations: 75.28 kB / 0.535 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.3503, allocations: 106.9 kB / 0.5351 GB, free: 9.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3503, allocations: 0 / 0.5351 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.464e-05/0.3504, allocations: 46.33 kB / 0.5352 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.3504, allocations: 130.7 kB / 0.5353 GB, free: 9.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.3507, allocations: 182.4 kB / 0.5355 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.3507, allocations: 25.7 kB / 0.5355 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3508, allocations: 155.5 kB / 0.5356 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.3508, allocations: 5.812 kB / 0.5356 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3509, allocations: 45.09 kB / 0.5357 GB, free: 8.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.351, allocations: 322.7 kB / 0.536 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.3511, allocations: 28.67 kB / 0.536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3512, allocations: 153.4 kB / 0.5362 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3514, allocations: 211.8 kB / 0.5364 GB, free: 7.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3514, allocations: 5.5 kB / 0.5364 GB, free: 7.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003113/0.3518, allocations: 201.3 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.3518, allocations: 6.875 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3518, allocations: 8.688 kB / 0.5366 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3518, allocations: 5.5 kB / 0.5366 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.352, allocations: 46.17 kB / 0.5366 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.352, allocations: 9.438 kB / 0.5366 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.3521, allocations: 20.08 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3521, allocations: 13.62 kB / 0.5367 GB, free: 7.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001314/0.3522, allocations: 213.4 kB / 0.5369 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.3523, allocations: 113 kB / 0.537 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.3524, allocations: 126.1 kB / 0.5371 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-05/0.3525, allocations: 181.6 kB / 0.5373 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.474e-05/0.3526, allocations: 185.7 kB / 0.5375 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.369e-05/0.3527, allocations: 180.2 kB / 0.5376 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3529, allocations: 421.5 kB / 0.538 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/0.353, allocations: 106.3 kB / 0.5381 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.353, allocations: 109 kB / 0.5382 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.205e-05/0.3531, allocations: 181.6 kB / 0.5384 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/0.3532, allocations: 181.6 kB / 0.5386 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-05/0.3533, allocations: 177.6 kB / 0.5388 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.005e-05/0.3533, allocations: 180.2 kB / 0.5389 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.3535, allocations: 326.5 kB / 0.5392 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.3536, allocations: 184.8 kB / 0.5394 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.3536, allocations: 185.6 kB / 0.5396 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.3537, allocations: 106.3 kB / 0.5397 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.3538, allocations: 176.3 kB / 0.5399 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.3538, allocations: 110.3 kB / 0.54 GB, free: 4.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.354, allocations: 129 kB / 0.5401 GB, free: 4.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.354, allocations: 1.375 kB / 0.5401 GB, free: 4.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3543, allocations: 11 kB / 0.5401 GB, free: 4.156 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 (0): * Single equations (assignments): 0 * 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.0007647/0.355, allocations: 0.9163 MB / 0.541 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.3552, allocations: 74 kB / 0.5411 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3552, allocations: 0 / 0.5411 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.3552, allocations: 6.25 kB / 0.5411 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3556, allocations: 465.7 kB / 0.5415 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3574, allocations: 1.889 MB / 0.5434 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3577, allocations: 0.6999 MB / 0.544 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3579, allocations: 49.89 kB / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.358, allocations: 26.45 kB / 0.5441 GB, free: 200 kB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.358, allocations: 0 / 0.5441 GB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.3797, allocations: 2.1 MB / 0.5462 GB, free: 15.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.965, allocations: 6.062 kB / 0.5462 GB, free: 15.02 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches