Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.48 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.2224/0.2224, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002373/0.002373, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3379, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.00336/0.3413, allocations: 1.695 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3424, allocations: 0.5552 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3424, allocations: 0 / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3427, allocations: 53.45 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.343, allocations: 102 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.3434, allocations: 133.4 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.3436, allocations: 78.55 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3437, allocations: 29.61 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.3437, allocations: 30.05 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3439, allocations: 45.17 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3439, allocations: 4.906 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.344, allocations: 52.31 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.3441, allocations: 20.33 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.3442, allocations: 39.05 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3444, allocations: 121.7 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3444, allocations: 0 / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3444, allocations: 1.312 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.3444, allocations: 4 kB / 0.5335 GB, free: 11.21 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.0007571/0.3452, allocations: 420 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.3453, allocations: 9.031 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.3453, allocations: 37.06 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.3454, allocations: 13.56 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3456, allocations: 196.3 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3457, allocations: 5.75 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.3457, allocations: 11.02 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3459, allocations: 67.11 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3459, allocations: 5.141 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.346, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.346, allocations: 1.125 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.3461, allocations: 42.88 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.3466, allocations: 314.3 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3468, allocations: 55 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.3469, allocations: 28.83 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3469, allocations: 1.844 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.347, allocations: 38.59 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 4.298e-06/0.347, allocations: 0.8438 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00151/0.3485, allocations: 406.2 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3485, allocations: 56.78 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3487, allocations: 194.5 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3488, allocations: 27.08 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3489, allocations: 109.6 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.3489, allocations: 31.83 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.349, allocations: 28.58 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3491, allocations: 327 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3492, allocations: 39.34 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3494, allocations: 44.77 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.3497, allocations: 112 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3497, allocations: 0 / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003258/0.35, allocations: 138 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.35, allocations: 5.406 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.35, allocations: 0 / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3501, allocations: 5.094 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3502, allocations: 35.97 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3502, allocations: 1.062 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.3503, allocations: 11.33 kB / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3503, allocations: 2.625 kB / 0.5362 GB, free: 8.863 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.0001223/0.3504, allocations: 126.9 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3504, allocations: 13.25 kB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.3509, allocations: 170.2 kB / 0.5365 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3509, allocations: 6.125 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3509, allocations: 3.984 kB / 0.5365 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3509, allocations: 1.094 kB / 0.5365 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.3516, allocations: 475.6 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3516, allocations: 1.062 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3517, allocations: 32.48 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3517, allocations: 5.062 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3518, allocations: 2.219 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3518, allocations: 1.156 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3518, allocations: 1.344 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.3522, allocations: 260.3 kB / 0.5373 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3523, allocations: 92.5 kB / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3523, allocations: 5.25 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3524, allocations: 14.8 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3524, allocations: 8.5 kB / 0.5374 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3525, allocations: 7.531 kB / 0.5374 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3526, allocations: 150.5 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3526, allocations: 0 / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3529, allocations: 30.95 kB / 0.5375 GB, free: 7.707 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.00222/0.3551, allocations: 1.134 MB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.3555, allocations: 102.2 kB / 0.5388 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3555, allocations: 1.219 kB / 0.5388 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3556, allocations: 66.64 kB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.356, allocations: 18.8 kB / 0.5388 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.3585, allocations: 1.818 MB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3588, allocations: 0.7051 MB / 0.5413 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.113e-05/0.3589, allocations: 21.84 kB / 0.5413 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.359, allocations: 39.58 kB / 0.5414 GB, free: 4.469 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.359, allocations: 0 / 0.5414 GB, free: 4.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3882, allocations: 3.39 MB / 0.5447 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.387, allocations: 3.031 kB / 0.5447 GB, free: 2.641 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1)