Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, 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.00207/0.00207, 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.444/1.444, 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.2287/0.2287, 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.003576/0.003576, allocations: 79.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3711, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002955/0.374, allocations: 1.687 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3757, allocations: 1.004 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3758, allocations: 0 / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.3761, allocations: 53.97 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.3764, allocations: 95.25 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.3766, allocations: 78.45 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3767, allocations: 97.62 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.3768, allocations: 13.56 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.3769, allocations: 34.8 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.377, allocations: 33.41 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.377, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.3771, allocations: 32.61 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.3772, allocations: 25.48 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.3772, allocations: 45.3 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3774, allocations: 119.2 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3775, allocations: 4 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3775, allocations: 1.375 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3775, allocations: 3.938 kB / 0.5339 GB, free: 10.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000589/0.3781, allocations: 446.1 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3781, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3782, allocations: 30.75 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.3782, allocations: 11.77 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.3785, allocations: 226.9 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3785, allocations: 5.75 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3785, allocations: 9.297 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3787, allocations: 43.31 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3787, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3787, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3787, allocations: 7.922 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.591e-05/0.3788, allocations: 20.17 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.379, allocations: 192.9 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3792, allocations: 55.12 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.3793, allocations: 21.09 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3793, allocations: 0 / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3795, allocations: 69.08 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3795, allocations: 0 / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002665/0.3797, allocations: 101.5 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3798, allocations: 55.39 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.38, allocations: 271.4 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3801, allocations: 26.86 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3801, allocations: 115.8 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3802, allocations: 21.95 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3802, allocations: 18.69 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3804, allocations: 332.1 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.3804, allocations: 15.12 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.3805, allocations: 31.42 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.386e-05/0.3806, allocations: 43.92 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3806, allocations: 3.938 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001577/0.3808, allocations: 85.84 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3808, allocations: 4.938 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3808, allocations: 4.031 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3808, allocations: 0.9688 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.3809, allocations: 13.67 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3809, allocations: 0 / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.381, allocations: 10.64 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.381, allocations: 3.125 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000105/0.3811, allocations: 132.5 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3811, allocations: 18.47 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.3812, allocations: 23.7 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3812, allocations: 5.094 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3812, allocations: 5.125 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3812, allocations: 0 / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3814, allocations: 199.3 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3814, allocations: 0 / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.3814, allocations: 7.281 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3814, allocations: 1.219 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3814, allocations: 0 / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3814, allocations: 1.156 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3814, allocations: 3.984 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.3816, allocations: 115.2 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3817, allocations: 92.31 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3817, allocations: 1.188 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.3818, allocations: 2.25 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3818, allocations: 6.25 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3818, allocations: 6.234 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.382, allocations: 198.2 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.382, allocations: 7.938 kB / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.3822, allocations: 22.09 kB / 0.5369 GB, free: 7.992 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001795/0.384, allocations: 0.9494 MB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.3842, allocations: 43.34 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3842, allocations: 4.062 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.3843, allocations: 20.5 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3845, allocations: 39 kB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3863, allocations: 1.668 MB / 0.5396 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3866, allocations: 0.7157 MB / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.3867, allocations: 15.86 kB / 0.5403 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.3868, allocations: 42.02 kB / 0.5403 GB, free: 5.039 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3868, allocations: 0 / 0.5403 GB, free: 5.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.411, allocations: 3.499 MB / 0.5438 GB, free: 3.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.574, allocations: 14.03 kB / 0.5438 GB, free: 3.156 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62_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_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)