Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001556/0.001556, allocations: 117.2 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.001706/0.001706, allocations: 199.8 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.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.41 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.2403/0.2403, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002642/0.002642, allocations: 80.16 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3611, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003102/0.3643, allocations: 1.59 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3653, allocations: 0.5453 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.3654, allocations: 1.875 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3656, allocations: 19.61 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.3658, allocations: 80.23 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3661, allocations: 110.9 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3663, allocations: 65.2 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.3664, allocations: 15.53 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.3665, allocations: 28.09 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.3665, allocations: 22.64 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.3665, allocations: 3.156 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.3666, allocations: 28.53 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.3667, allocations: 19.88 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.3667, allocations: 16.09 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3669, allocations: 88.44 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3669, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3669, allocations: 4 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3669, allocations: 0 / 0.5332 GB, free: 11.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005481/0.3675, allocations: 388.5 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3675, allocations: 8.969 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.3676, allocations: 32.53 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.3676, allocations: 8.516 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3678, allocations: 194.6 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3678, allocations: 1.938 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3679, allocations: 1.688 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.368, allocations: 65.36 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.368, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3681, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3681, allocations: 1.125 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.3682, allocations: 25.56 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3686, allocations: 280.2 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3688, allocations: 48.38 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.3689, allocations: 21.19 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3689, allocations: 0 / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3689, allocations: 31.94 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.369, allocations: 0 / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005552/0.3695, allocations: 154 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3696, allocations: 52.78 kB / 0.5344 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3697, allocations: 162.8 kB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3698, allocations: 25.7 kB / 0.5346 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.3698, allocations: 98.81 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3699, allocations: 18.61 kB / 0.5347 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3699, allocations: 13.84 kB / 0.5348 GB, free: 9.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3701, allocations: 329.5 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.3701, allocations: 20.36 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.3702, allocations: 20.36 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3704, allocations: 58.88 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3704, allocations: 192 / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.3706, allocations: 88 kB / 0.5352 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3706, allocations: 8.125 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3706, allocations: 1.375 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3706, allocations: 0 / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.3707, allocations: 13.61 kB / 0.5353 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3707, allocations: 1.375 kB / 0.5353 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.3707, allocations: 6.734 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3708, allocations: 5.312 kB / 0.5353 GB, free: 9.34 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 (5): * Single equations (assignments): 5 * 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 9.196e-05/0.3709, allocations: 115.3 kB / 0.5354 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.3709, allocations: 10.7 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3712, allocations: 105.6 kB / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3712, allocations: 0 / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3712, allocations: 1.375 kB / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3712, allocations: 0 / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.3717, allocations: 359.8 kB / 0.5358 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3717, allocations: 0 / 0.5358 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.3718, allocations: 21.73 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3718, allocations: 0 / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3718, allocations: 2.125 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3718, allocations: 3.938 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3718, allocations: 0 / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3721, allocations: 178.3 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.3721, allocations: 83.53 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3721, allocations: 9.125 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.3722, allocations: 14.83 kB / 0.5361 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3723, allocations: 10.81 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3723, allocations: 0.8125 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3724, allocations: 113.6 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3724, allocations: 1.25 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3727, allocations: 17.91 kB / 0.5363 GB, free: 8.383 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 (5): * Single equations (assignments): 5 * 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.001924/0.3746, allocations: 1.011 MB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3748, allocations: 59.58 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3748, allocations: 0 / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.3749, allocations: 32.55 kB / 0.5374 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3753, allocations: 28.31 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.377, allocations: 1.455 MB / 0.5388 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3774, allocations: 0.7 MB / 0.5395 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.3774, allocations: 20.42 kB / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3775, allocations: 20 kB / 0.5395 GB, free: 5.441 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3775, allocations: 0 / 0.5395 GB, free: 5.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.4018, allocations: 2.577 MB / 0.542 GB, free: 3.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.458, allocations: 9.859 kB / 0.5421 GB, free: 3.992 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1)