Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, 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.001884/0.001884, 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.505/1.505, 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.2307/0.2307, allocations: 46.11 MB / 344.3 MB, free: 11.45 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: 79.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3513, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003032/0.3544, allocations: 1.645 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3555, allocations: 0.5508 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.3555, allocations: 1.344 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3558, allocations: 99.05 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.3562, allocations: 106.1 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.3565, allocations: 99.25 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3567, allocations: 98.55 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3568, allocations: 27.02 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.3569, allocations: 42.52 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.357, allocations: 62.47 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.357, allocations: 3.625 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3571, allocations: 47.33 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.3572, allocations: 25.55 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.3572, allocations: 46.47 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3575, allocations: 127.1 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3575, allocations: 4 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3575, allocations: 0 / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3575, allocations: 1.375 kB / 0.5335 GB, free: 11.19 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005445/0.358, allocations: 437 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3581, allocations: 9.625 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3581, allocations: 36.12 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.3582, allocations: 23.66 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.3584, allocations: 213.8 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3584, allocations: 3.125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3585, allocations: 11.12 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3586, allocations: 78.16 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3587, allocations: 3.953 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3587, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3587, allocations: 5.359 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3588, allocations: 37.97 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.3592, allocations: 328.6 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3594, allocations: 66.05 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.3595, allocations: 23.84 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3595, allocations: 1.375 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3595, allocations: 35.88 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3595, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001035/0.3606, allocations: 317.4 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3606, allocations: 52.91 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3609, allocations: 237.8 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3609, allocations: 30.73 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.361, allocations: 118.7 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.361, allocations: 45.48 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3611, allocations: 26.61 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3613, allocations: 327.2 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.3614, allocations: 31.55 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.3615, allocations: 41.22 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3617, allocations: 93.58 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3617, allocations: 0 / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.362, allocations: 138.8 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.362, allocations: 5.25 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.362, allocations: 0 / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.362, allocations: 4.938 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3622, allocations: 24.83 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3622, allocations: 4.938 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.3622, allocations: 15.73 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3623, allocations: 2.719 kB / 0.5362 GB, free: 8.809 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 (13): * Single equations (assignments): 13 * 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.0001131/0.3624, allocations: 132 kB / 0.5364 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.3624, allocations: 14.5 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.3628, allocations: 162.8 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3628, allocations: 0.9688 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3628, allocations: 1.156 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3628, allocations: 7.938 kB / 0.5365 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.3635, allocations: 494 kB / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3635, allocations: 5.25 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.3636, allocations: 24.86 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3636, allocations: 1.344 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3636, allocations: 1.344 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3637, allocations: 1.312 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3637, allocations: 4.031 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.364, allocations: 247.2 kB / 0.5373 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.3641, allocations: 89.42 kB / 0.5374 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3641, allocations: 5.094 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3642, allocations: 3.25 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.3642, allocations: 13.39 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3642, allocations: 3.219 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.3644, allocations: 183.3 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3644, allocations: 0 / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.3647, allocations: 22.06 kB / 0.5376 GB, free: 7.676 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 (13): * Single equations (assignments): 13 * 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.002246/0.367, allocations: 1.125 MB / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.3673, allocations: 101.3 kB / 0.5388 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3673, allocations: 0 / 0.5388 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3674, allocations: 57.25 kB / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.3678, allocations: 39.92 kB / 0.5389 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3701, allocations: 1.84 MB / 0.5407 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3704, allocations: 0.7222 MB / 0.5414 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.3705, allocations: 15.91 kB / 0.5414 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.3706, allocations: 43.8 kB / 0.5414 GB, free: 4.441 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3706, allocations: 0 / 0.5414 GB, free: 4.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3965, allocations: 3.521 MB / 0.5449 GB, free: 2.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.67, allocations: 20.47 kB / 0.5449 GB, free: 2.547 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_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_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)