Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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 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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001807/0.001807, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002157/0.002157, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247 MB, free: 10.38 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.2449/0.2449, allocations: 46.12 MB / 344.4 MB, free: 11.41 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.002384/0.002385, allocations: 79.88 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3463, allocations: 62.45 MB / 0.5306 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00306/0.3494, allocations: 1.68 MB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3507, allocations: 0.5865 MB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.3508, allocations: 1.781 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.3514, allocations: 453 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.352, allocations: 293 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.3526, allocations: 182.4 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3529, allocations: 184.7 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.353, allocations: 18.5 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3531, allocations: 116.5 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.3534, allocations: 216.8 kB / 0.5342 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3534, allocations: 4.562 kB / 0.5343 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3536, allocations: 48.08 kB / 0.5343 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3537, allocations: 96.38 kB / 0.5344 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3538, allocations: 107.8 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.3542, allocations: 294.3 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3543, allocations: 0 / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3543, allocations: 4 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3543, allocations: 1.438 kB / 0.5348 GB, free: 10.45 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.000882/0.3552, allocations: 0.6724 MB / 0.5354 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3552, allocations: 10.09 kB / 0.5354 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3553, allocations: 40.11 kB / 0.5355 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.3553, allocations: 43.62 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3557, allocations: 309.5 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-06/0.3557, allocations: 1.469 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3557, allocations: 11.42 kB / 0.5358 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3559, allocations: 73.5 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.356, allocations: 0 / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.356, allocations: 1.031 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.356, allocations: 1.25 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.3562, allocations: 48.2 kB / 0.536 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.3568, allocations: 423.3 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.3571, allocations: 59.89 kB / 0.5364 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.3572, allocations: 26.22 kB / 0.5364 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3572, allocations: 4.891 kB / 0.5364 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3572, allocations: 39.56 kB / 0.5365 GB, free: 8.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3572, allocations: 5.094 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001711/0.359, allocations: 0.5056 MB / 0.537 GB, free: 8.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.359, allocations: 52.38 kB / 0.537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009769/0.36, allocations: 0.873 MB / 0.5379 GB, free: 8.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.36, allocations: 25.7 kB / 0.5379 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3602, allocations: 228.6 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.3603, allocations: 35.97 kB / 0.5382 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.3604, allocations: 26.48 kB / 0.5382 GB, free: 7.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3606, allocations: 360.3 kB / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3607, allocations: 61.05 kB / 0.5386 GB, free: 7.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3609, allocations: 52.39 kB / 0.5386 GB, free: 7.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3612, allocations: 132.5 kB / 0.5388 GB, free: 7.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3612, allocations: 0 / 0.5388 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004077/0.3616, allocations: 203.2 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3616, allocations: 4.594 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3616, allocations: 1.281 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3617, allocations: 7.938 kB / 0.539 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3618, allocations: 29.83 kB / 0.539 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3618, allocations: 0 / 0.539 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.3619, allocations: 9.547 kB / 0.539 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3619, allocations: 3.188 kB / 0.539 GB, free: 7.211 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.0002245/0.3622, allocations: 220.2 kB / 0.5392 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.3622, allocations: 47.45 kB / 0.5393 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.3627, allocations: 230.4 kB / 0.5395 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.3628, allocations: 5.312 kB / 0.5395 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3628, allocations: 3.938 kB / 0.5395 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3628, allocations: 1.312 kB / 0.5395 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.3637, allocations: 0.5994 MB / 0.5401 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3637, allocations: 1.062 kB / 0.5401 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3638, allocations: 35.94 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3639, allocations: 1.344 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3639, allocations: 2.5 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3639, allocations: 1.312 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3639, allocations: 1.406 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.3643, allocations: 314 kB / 0.5404 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.3644, allocations: 111.6 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3645, allocations: 10.33 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3646, allocations: 10.94 kB / 0.5405 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3647, allocations: 7.672 kB / 0.5406 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3647, allocations: 11.53 kB / 0.5406 GB, free: 5.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007168/0.3654, allocations: 0.6587 MB / 0.5412 GB, free: 5.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3654, allocations: 0 / 0.5412 GB, free: 5.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3657, allocations: 34.66 kB / 0.5412 GB, free: 5.66 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.002411/0.3681, allocations: 1.198 MB / 0.5424 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.3686, allocations: 129.5 kB / 0.5425 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3686, allocations: 0 / 0.5425 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3687, allocations: 67.23 kB / 0.5426 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.3692, allocations: 35.16 kB / 0.5426 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.3741, allocations: 3.553 MB / 0.5461 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.3747, allocations: 0.8416 MB / 0.5469 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.3748, allocations: 36.52 kB / 0.547 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.375, allocations: 127.4 kB / 0.5471 GB, free: 360 kB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.375, allocations: 0 / 0.5471 GB, free: 360 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.4051, allocations: 6.697 MB / 0.5536 GB, free: 9.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.017, allocations: 6.031 kB / 0.5536 GB, free: 9.746 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1)