Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 122.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.002221/0.002221, allocations: 201.2 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.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.45 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.2201/0.2201, allocations: 46.12 MB / 344.4 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.002282/0.002283, allocations: 75.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.347, allocations: 62.45 MB / 0.5307 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002946/0.35, allocations: 1.731 MB / 0.5324 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3517, allocations: 1.016 MB / 0.5334 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.3518, allocations: 5.312 kB / 0.5334 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.352, allocations: 37.58 kB / 0.5334 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.3523, allocations: 103 kB / 0.5335 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3525, allocations: 74.92 kB / 0.5336 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3527, allocations: 110.3 kB / 0.5337 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.3528, allocations: 6.875 kB / 0.5337 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.3529, allocations: 42.91 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.353, allocations: 37.41 kB / 0.5338 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.353, allocations: 4.125 kB / 0.5338 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.3531, allocations: 44.86 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.3531, allocations: 26.67 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.3532, allocations: 35.98 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3534, allocations: 131.6 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3534, allocations: 0 / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3534, allocations: 0 / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3534, allocations: 1.375 kB / 0.534 GB, free: 11.04 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.0005537/0.354, allocations: 424.8 kB / 0.5344 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.354, allocations: 9.625 kB / 0.5344 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.3541, allocations: 32.12 kB / 0.5345 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3541, allocations: 14.39 kB / 0.5345 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3544, allocations: 224.6 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.3544, allocations: 1.75 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3545, allocations: 6.688 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.3546, allocations: 54.05 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3546, allocations: 0 / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3546, allocations: 1.375 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3546, allocations: 0 / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.3547, allocations: 18.98 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.3551, allocations: 294.8 kB / 0.535 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3553, allocations: 65.91 kB / 0.5351 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.3553, allocations: 22.22 kB / 0.5351 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3553, allocations: 1.344 kB / 0.5351 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.3555, allocations: 76.3 kB / 0.5352 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3555, allocations: 1.594 kB / 0.5352 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005299/0.3561, allocations: 181.6 kB / 0.5354 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3561, allocations: 56.78 kB / 0.5354 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.3563, allocations: 208 kB / 0.5356 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3564, allocations: 26.8 kB / 0.5356 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.3564, allocations: 109.8 kB / 0.5358 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.3565, allocations: 23.19 kB / 0.5358 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.3565, allocations: 20.56 kB / 0.5358 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3567, allocations: 326.4 kB / 0.5361 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.3567, allocations: 19.39 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.3568, allocations: 34.92 kB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3569, allocations: 67.3 kB / 0.5362 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3569, allocations: 1.094 kB / 0.5362 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.3571, allocations: 99.23 kB / 0.5363 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3572, allocations: 5.719 kB / 0.5363 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3572, allocations: 5.062 kB / 0.5363 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3572, allocations: 1.188 kB / 0.5363 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.3573, allocations: 20.52 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3573, allocations: 1.156 kB / 0.5364 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.3573, allocations: 10.31 kB / 0.5364 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3574, allocations: 6.344 kB / 0.5364 GB, free: 8.805 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.0001023/0.3575, allocations: 128.1 kB / 0.5365 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3575, allocations: 13.41 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.3576, allocations: 15.69 kB / 0.5365 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3576, allocations: 1 kB / 0.5365 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3576, allocations: 0 / 0.5365 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3576, allocations: 8.859 kB / 0.5365 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.358, allocations: 399.4 kB / 0.5369 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3581, allocations: 0 / 0.5369 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.3581, allocations: 8.562 kB / 0.5369 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3581, allocations: 4.312 kB / 0.5369 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3581, allocations: 6.484 kB / 0.5369 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3581, allocations: 5.406 kB / 0.5369 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.3581, allocations: 3.938 kB / 0.5369 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3584, allocations: 209 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.3585, allocations: 83.84 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3585, allocations: 6.656 kB / 0.5372 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.3586, allocations: 9.359 kB / 0.5372 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3587, allocations: 3.719 kB / 0.5372 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3587, allocations: 2.531 kB / 0.5372 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.3588, allocations: 159.7 kB / 0.5374 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3589, allocations: 0 / 0.5374 GB, free: 7.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3591, allocations: 24.64 kB / 0.5374 GB, free: 7.84 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.002231/0.3614, allocations: 1.103 MB / 0.5385 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3616, allocations: 57.59 kB / 0.5385 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3616, allocations: 1.156 kB / 0.5385 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.3617, allocations: 29.48 kB / 0.5386 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.362, allocations: 37.75 kB / 0.5386 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.364, allocations: 1.686 MB / 0.5403 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3643, allocations: 0.7105 MB / 0.5409 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.464e-05/0.3644, allocations: 21.97 kB / 0.541 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.3645, allocations: 43.55 kB / 0.541 GB, free: 4.699 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3645, allocations: 0 / 0.541 GB, free: 4.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3884, allocations: 3.51 MB / 0.5444 GB, free: 2.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.432, allocations: 8.078 kB / 0.5444 GB, free: 2.816 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_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_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)