Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001312/0.001312, allocations: 122.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.001289/0.001289, allocations: 197.2 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2205/0.2205, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3478, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004319/0.3522, allocations: 1.683 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3534, allocations: 0.5748 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.3535, allocations: 1.219 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.3543, allocations: 457.7 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.355, allocations: 295.6 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.3555, allocations: 185.1 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3557, allocations: 172 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3559, allocations: 21.83 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.356, allocations: 115.9 kB / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.3563, allocations: 219.3 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3563, allocations: 3.469 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3564, allocations: 48.92 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3565, allocations: 83.66 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.3566, allocations: 111.9 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.357, allocations: 292.3 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3571, allocations: 1.5 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3571, allocations: 0 / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3571, allocations: 0 / 0.5348 GB, free: 10.61 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.0008895/0.358, allocations: 0.6695 MB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.358, allocations: 9.656 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.3581, allocations: 35.81 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.3581, allocations: 48.39 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3585, allocations: 308.5 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3585, allocations: 11 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3585, allocations: 2.906 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3587, allocations: 62.17 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3588, allocations: 4 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3588, allocations: 5 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3588, allocations: 1.312 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3589, allocations: 30.19 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.3595, allocations: 417.8 kB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3597, allocations: 44.94 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.3598, allocations: 21.72 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3598, allocations: 7.875 kB / 0.5364 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3598, allocations: 31.56 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3598, allocations: 1.438 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001046/0.3609, allocations: 331.5 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.361, allocations: 60.77 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009861/0.3619, allocations: 0.8751 MB / 0.5376 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.362, allocations: 25.7 kB / 0.5377 GB, free: 8.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3622, allocations: 231.4 kB / 0.5379 GB, free: 8.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.3622, allocations: 30.75 kB / 0.5379 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.3623, allocations: 23.44 kB / 0.5379 GB, free: 8.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3625, allocations: 364.5 kB / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.82e-05/0.3626, allocations: 33.5 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3627, allocations: 29.77 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3629, allocations: 77.03 kB / 0.5384 GB, free: 7.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3629, allocations: 1.406 kB / 0.5384 GB, free: 7.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002873/0.3632, allocations: 151.8 kB / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3632, allocations: 5.375 kB / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3632, allocations: 0 / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3633, allocations: 0.8438 kB / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3634, allocations: 21.36 kB / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3634, allocations: 1.125 kB / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.3635, allocations: 4.031 kB / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3635, allocations: 2.188 kB / 0.5386 GB, free: 7.562 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.0002331/0.3637, allocations: 227.1 kB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.3638, allocations: 43.41 kB / 0.5388 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.3642, allocations: 178.8 kB / 0.539 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3642, allocations: 5.25 kB / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3642, allocations: 0 / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3642, allocations: 5.781 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.365, allocations: 0.5201 MB / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.365, allocations: 0 / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.3651, allocations: 18.45 kB / 0.5396 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3651, allocations: 4.938 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3651, allocations: 2.281 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3651, allocations: 0 / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3651, allocations: 8.922 kB / 0.5396 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.3655, allocations: 259.4 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3656, allocations: 119.6 kB / 0.5399 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.3656, allocations: 1.094 kB / 0.5399 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.3657, allocations: 8.312 kB / 0.5399 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.3658, allocations: 11.3 kB / 0.5399 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3658, allocations: 6.219 kB / 0.54 GB, free: 6.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.3666, allocations: 0.6647 MB / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.148e-06/0.3666, allocations: 0 / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.3669, allocations: 31.31 kB / 0.5406 GB, free: 6.105 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.002287/0.3692, allocations: 1.124 MB / 0.5417 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.3695, allocations: 76.52 kB / 0.5418 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3695, allocations: 8 kB / 0.5418 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3696, allocations: 44.31 kB / 0.5419 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.3701, allocations: 31.62 kB / 0.5419 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.3747, allocations: 3.391 MB / 0.5452 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.3753, allocations: 0.8377 MB / 0.546 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.3754, allocations: 16.42 kB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3756, allocations: 123.4 kB / 0.5461 GB, free: 1.496 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3756, allocations: 0 / 0.5461 GB, free: 1.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4051, allocations: 6.465 MB / 0.5525 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/9.058, allocations: 1.969 kB / 0.5525 GB, free: 11.12 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1)