Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_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.001759/0.001759, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 201.2 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.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.44 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.2243/0.2243, allocations: 46.12 MB / 344.4 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.003357/0.003357, allocations: 83.86 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.357, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003542/0.3606, allocations: 1.728 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3624, allocations: 1.028 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3625, allocations: 1.25 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.3629, allocations: 53 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.3633, allocations: 89.42 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3636, allocations: 84.34 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3638, allocations: 106.1 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3639, allocations: 17.47 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.364, allocations: 39.2 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.3641, allocations: 38.38 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3641, allocations: 4.219 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3643, allocations: 43 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.3643, allocations: 22.67 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.3644, allocations: 41.94 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3647, allocations: 148.9 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3647, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3647, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3647, allocations: 0 / 0.534 GB, free: 10.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006123/0.3653, allocations: 455.4 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3654, allocations: 9.625 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.3654, allocations: 36.12 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.3654, allocations: 15.72 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3658, allocations: 216.4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3658, allocations: 5.75 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3658, allocations: 10.69 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.366, allocations: 50.05 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.366, allocations: 3.938 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.366, allocations: 4 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.366, allocations: 5.312 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.3661, allocations: 22.92 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.3665, allocations: 302.9 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3667, allocations: 57.92 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.3668, allocations: 18.48 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3668, allocations: 7.984 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.367, allocations: 69.08 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.367, allocations: 5.375 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.3676, allocations: 179.7 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3677, allocations: 56.77 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.368, allocations: 275.6 kB / 0.5358 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.368, allocations: 26.86 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.3681, allocations: 111.4 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.3681, allocations: 23.48 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.3682, allocations: 28.83 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3684, allocations: 328.5 kB / 0.5363 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.3684, allocations: 23.02 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.3685, allocations: 35.27 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3687, allocations: 62.73 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3687, allocations: 3.984 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.3689, allocations: 113.8 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3689, allocations: 4.469 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3689, allocations: 1.094 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3689, allocations: 1.125 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.369, allocations: 16.98 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.369, allocations: 1.094 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.3691, allocations: 10.25 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3691, allocations: 2.281 kB / 0.5365 GB, free: 8.484 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 (10): * Single equations (assignments): 10 * 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.0001316/0.3693, allocations: 133.5 kB / 0.5367 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3693, allocations: 19.72 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.3694, allocations: 21.36 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3694, allocations: 1.25 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3694, allocations: 0 / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3694, allocations: 3.938 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.3699, allocations: 408.8 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.37, allocations: 0 / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.37, allocations: 12.12 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.37, allocations: 13.14 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.37, allocations: 9.047 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.37, allocations: 1.531 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3701, allocations: 1.062 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3703, allocations: 201.5 kB / 0.5373 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.3704, allocations: 89.7 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3704, allocations: 9.031 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.3705, allocations: 14.14 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3706, allocations: 3.25 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3706, allocations: 8.031 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3708, allocations: 203.1 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3708, allocations: 0 / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3711, allocations: 25.62 kB / 0.5377 GB, free: 7.484 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002163/0.3732, allocations: 1.1 MB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3735, allocations: 61.09 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3735, allocations: 1.125 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.3736, allocations: 33.52 kB / 0.5388 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.374, allocations: 28.27 kB / 0.5388 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.3767, allocations: 1.829 MB / 0.5406 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.3773, allocations: 0.7173 MB / 0.5413 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.3774, allocations: 13.66 kB / 0.5413 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3775, allocations: 44.3 kB / 0.5414 GB, free: 4.297 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3775, allocations: 0 / 0.5414 GB, free: 4.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.406, allocations: 3.801 MB / 0.5451 GB, free: 2.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.563, allocations: 8.922 kB / 0.5451 GB, free: 2.27 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)