Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001119, allocations: 115.5 kB / 17.78 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.001215/0.001215, allocations: 204.6 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.443/1.443, 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.2171/0.2171, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 79.81 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4377, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003233/0.441, allocations: 1.67 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.442, allocations: 0.5854 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.4421, allocations: 7.719 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.4427, allocations: 450.9 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.4432, allocations: 288.9 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.4436, allocations: 185.4 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.4439, allocations: 176 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.444, allocations: 26.84 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.4442, allocations: 115.3 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.4445, allocations: 208 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.4446, allocations: 2.75 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4447, allocations: 56.92 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.4448, allocations: 83 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.445, allocations: 112.6 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.4454, allocations: 289.1 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4454, allocations: 3.938 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4454, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4454, allocations: 1.062 kB / 0.5347 GB, free: 10.64 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.0009888/0.4464, allocations: 0.6733 MB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4465, allocations: 9.062 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.4466, allocations: 35.92 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.4466, allocations: 44.12 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.447, allocations: 309.7 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.447, allocations: 5.531 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.447, allocations: 3.75 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4472, allocations: 69.39 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4473, allocations: 1.188 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4473, allocations: 0 / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4473, allocations: 5.172 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4474, allocations: 30.78 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.4481, allocations: 414.6 kB / 0.5362 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4482, allocations: 52.42 kB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.4483, allocations: 17.02 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4483, allocations: 0.9375 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4483, allocations: 35.47 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4483, allocations: 0 / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001098/0.4494, allocations: 337 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.4495, allocations: 56.69 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/0.4504, allocations: 0.8737 MB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.4505, allocations: 35.08 kB / 0.5376 GB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.4507, allocations: 226.1 kB / 0.5378 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.4507, allocations: 27.61 kB / 0.5378 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.4507, allocations: 19 kB / 0.5378 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4509, allocations: 369.3 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.451, allocations: 32.06 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.4511, allocations: 25.52 kB / 0.5382 GB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.4513, allocations: 86.97 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4513, allocations: 0 / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002732/0.4516, allocations: 145.6 kB / 0.5385 GB, free: 7.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4516, allocations: 6.906 kB / 0.5385 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4516, allocations: 0 / 0.5385 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4516, allocations: 5.406 kB / 0.5385 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4517, allocations: 25.73 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4518, allocations: 0 / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.4518, allocations: 11.16 kB / 0.5385 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4518, allocations: 6.891 kB / 0.5385 GB, free: 7.59 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 (8): * Single equations (assignments): 8 * 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.0002334/0.4521, allocations: 211.4 kB / 0.5387 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.4522, allocations: 43.38 kB / 0.5388 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.4526, allocations: 181.9 kB / 0.5389 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4526, allocations: 9.125 kB / 0.5389 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4526, allocations: 1.156 kB / 0.5389 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4526, allocations: 3.984 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.4535, allocations: 0.5211 MB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4535, allocations: 3.984 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.4536, allocations: 14.53 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.4536, allocations: 1.156 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.4536, allocations: 13.08 kB / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.4536, allocations: 5.125 kB / 0.5395 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4536, allocations: 1.125 kB / 0.5395 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.454, allocations: 247.1 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4541, allocations: 119.7 kB / 0.5398 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.4542, allocations: 1.344 kB / 0.5398 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.4543, allocations: 12.03 kB / 0.5398 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.4543, allocations: 7.188 kB / 0.5399 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4543, allocations: 2.688 kB / 0.5399 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007402/0.4551, allocations: 0.6607 MB / 0.5405 GB, free: 6.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4551, allocations: 0 / 0.5405 GB, free: 6.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.4554, allocations: 27.06 kB / 0.5405 GB, free: 6.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001601/0.457, allocations: 1.139 MB / 0.5416 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.4572, allocations: 75.53 kB / 0.5417 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4572, allocations: 1.312 kB / 0.5417 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4574, allocations: 43.75 kB / 0.5418 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.4578, allocations: 29.92 kB / 0.5418 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.4618, allocations: 3.396 MB / 0.5451 GB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.4623, allocations: 0.8338 MB / 0.5459 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.511e-05/0.4623, allocations: 24.72 kB / 0.5459 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.4625, allocations: 123.4 kB / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4625, allocations: 0 / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.4877, allocations: 6.452 MB / 0.5524 GB, free: 11.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.808, allocations: 8.891 kB / 0.5524 GB, free: 11.14 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_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_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches