Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 120.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, 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.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001836, allocations: 83.81 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4691, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00311/0.4723, allocations: 1.672 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.4733, allocations: 0.56 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.4734, allocations: 1.281 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007378/0.4741, allocations: 456.5 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.4747, allocations: 296.1 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.4751, allocations: 134.9 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.4754, allocations: 170.5 kB / 0.5337 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4755, allocations: 25.83 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.4756, allocations: 118.8 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.4759, allocations: 208 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.4759, allocations: 7.75 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4761, allocations: 53.27 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.4762, allocations: 82.41 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.4763, allocations: 115.8 kB / 0.5343 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.4768, allocations: 288.8 kB / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4768, allocations: 0 / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4768, allocations: 0 / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4768, allocations: 0 / 0.5346 GB, free: 10.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008944/0.4777, allocations: 0.672 MB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4778, allocations: 14.27 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.4778, allocations: 35.94 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.4779, allocations: 44.19 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.4782, allocations: 307.9 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4783, allocations: 5.75 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.4783, allocations: 7.094 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.4785, allocations: 75.3 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4785, allocations: 1.375 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4785, allocations: 0 / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4785, allocations: 1.062 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.4787, allocations: 39.19 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.4793, allocations: 404.5 kB / 0.5361 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.4796, allocations: 58.08 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.4797, allocations: 25.25 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.4797, allocations: 1.469 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4797, allocations: 42.5 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4798, allocations: 1.531 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00154/0.4813, allocations: 484.4 kB / 0.5367 GB, free: 8.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4814, allocations: 53.59 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.4823, allocations: 0.8707 MB / 0.5376 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.4824, allocations: 29.7 kB / 0.5377 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.4826, allocations: 220.6 kB / 0.5379 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.4826, allocations: 35.97 kB / 0.5379 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.4827, allocations: 29.64 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4828, allocations: 360.1 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.483, allocations: 44.08 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4831, allocations: 43.19 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4833, allocations: 100 kB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4833, allocations: 1.094 kB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003552/0.4837, allocations: 180 kB / 0.5386 GB, free: 7.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4837, allocations: 9.75 kB / 0.5386 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4837, allocations: 0 / 0.5386 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4837, allocations: 5.969 kB / 0.5386 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4839, allocations: 23.86 kB / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4839, allocations: 0 / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.484, allocations: 10.67 kB / 0.5387 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.484, allocations: 2.344 kB / 0.5387 GB, free: 7.512 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.0002163/0.4842, allocations: 218.9 kB / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.4843, allocations: 51.02 kB / 0.5389 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.4848, allocations: 209.8 kB / 0.5391 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4848, allocations: 6.156 kB / 0.5391 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4849, allocations: 0 / 0.5391 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4849, allocations: 0 / 0.5391 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.4857, allocations: 0.5787 MB / 0.5397 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4857, allocations: 1.094 kB / 0.5397 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4858, allocations: 24.33 kB / 0.5397 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4859, allocations: 1.344 kB / 0.5397 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4859, allocations: 1.875 kB / 0.5397 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4859, allocations: 2.344 kB / 0.5397 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4859, allocations: 192 / 0.5397 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.4863, allocations: 293.2 kB / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.4864, allocations: 119.8 kB / 0.5401 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.4865, allocations: 10.22 kB / 0.5401 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4866, allocations: 14.45 kB / 0.5402 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.4866, allocations: 4.406 kB / 0.5402 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.4867, allocations: 7.328 kB / 0.5402 GB, free: 6.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008258/0.4875, allocations: 0.6544 MB / 0.5408 GB, free: 6.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4875, allocations: 0 / 0.5408 GB, free: 6.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.4878, allocations: 36.52 kB / 0.5408 GB, free: 5.992 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.001855/0.4897, allocations: 1.181 MB / 0.542 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.49, allocations: 106.6 kB / 0.5421 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.49, allocations: 0 / 0.5421 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4902, allocations: 67.45 kB / 0.5422 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4907, allocations: 33.17 kB / 0.5422 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.4951, allocations: 3.455 MB / 0.5456 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.4956, allocations: 0.8301 MB / 0.5464 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.945e-05/0.4957, allocations: 16.55 kB / 0.5464 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.4959, allocations: 115.3 kB / 0.5465 GB, free: 1.074 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4959, allocations: 0 / 0.5465 GB, free: 1.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.5254, allocations: 6.554 MB / 0.5529 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.515, allocations: 0.8906 kB / 0.5529 GB, free: 10.59 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches