Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, 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.001322/0.001322, 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.418/1.418, 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.2277/0.2277, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002467/0.002468, allocations: 79.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3448, allocations: 62.44 MB / 0.5307 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003228/0.3481, allocations: 1.733 MB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3498, allocations: 1.021 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.3499, allocations: 0 / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3502, allocations: 48.3 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3505, allocations: 92.3 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3507, allocations: 80.41 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3509, allocations: 103.5 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.351, allocations: 10.88 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.3511, allocations: 44.27 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.3512, allocations: 37.42 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3513, allocations: 4.125 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3514, allocations: 43.47 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.3514, allocations: 18.8 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.3515, allocations: 33.38 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3517, allocations: 133.7 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3518, allocations: 1.375 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3518, allocations: 0 / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.3518, allocations: 0 / 0.534 GB, free: 10.68 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.0006237/0.3524, allocations: 430.2 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3524, allocations: 9.625 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3525, allocations: 32.12 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.3525, allocations: 9.016 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3529, allocations: 222 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3529, allocations: 5.734 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3529, allocations: 5.312 kB / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3531, allocations: 57.98 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3531, allocations: 1.375 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3531, allocations: 4 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3531, allocations: 1.375 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.3532, allocations: 17.61 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.3536, allocations: 296.2 kB / 0.535 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3538, allocations: 53.88 kB / 0.5351 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.3539, allocations: 29.09 kB / 0.5351 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3539, allocations: 5.312 kB / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3541, allocations: 65.14 kB / 0.5352 GB, free: 9.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.3541, allocations: 0 / 0.5352 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006726/0.3548, allocations: 191 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3548, allocations: 52.91 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.3551, allocations: 212.5 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3551, allocations: 29.7 kB / 0.5357 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.3552, allocations: 102 kB / 0.5357 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3553, allocations: 23.91 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3553, allocations: 20.56 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3555, allocations: 326.1 kB / 0.5361 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.3556, allocations: 18.55 kB / 0.5361 GB, free: 8.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.3557, allocations: 48.14 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3558, allocations: 58.48 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3558, allocations: 1.031 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002385/0.356, allocations: 103.4 kB / 0.5363 GB, free: 8.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3561, allocations: 8.188 kB / 0.5363 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3561, allocations: 0 / 0.5363 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3561, allocations: 1.188 kB / 0.5363 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.3562, allocations: 17.73 kB / 0.5363 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3562, allocations: 4.938 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.3563, allocations: 9.844 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3563, allocations: 3.281 kB / 0.5364 GB, free: 8.453 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.0001302/0.3564, allocations: 131.9 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3565, allocations: 13.59 kB / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.3565, allocations: 14.97 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3565, allocations: 5.109 kB / 0.5365 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3566, allocations: 0 / 0.5365 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3566, allocations: 5.188 kB / 0.5365 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.3571, allocations: 394.7 kB / 0.5369 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3571, allocations: 1.094 kB / 0.5369 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.3572, allocations: 11.23 kB / 0.5369 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3572, allocations: 4.875 kB / 0.5369 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3572, allocations: 6.219 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3572, allocations: 1.156 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3572, allocations: 4.875 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3575, allocations: 208.9 kB / 0.5371 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3576, allocations: 83.62 kB / 0.5372 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3576, allocations: 14.34 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.18e-05/0.3577, allocations: 5.453 kB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.3577, allocations: 4.188 kB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3578, allocations: 6.656 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.3579, allocations: 171 kB / 0.5374 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3579, allocations: 0 / 0.5374 GB, free: 7.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3582, allocations: 21.62 kB / 0.5374 GB, free: 7.473 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.002405/0.3606, allocations: 1.089 MB / 0.5385 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3609, allocations: 62.42 kB / 0.5385 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3609, allocations: 0 / 0.5385 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.361, allocations: 38.16 kB / 0.5386 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3614, allocations: 32.73 kB / 0.5386 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3638, allocations: 1.677 MB / 0.5403 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.3642, allocations: 0.7144 MB / 0.5409 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.875e-05/0.3643, allocations: 18.16 kB / 0.541 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.3644, allocations: 39.41 kB / 0.541 GB, free: 4.344 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3644, allocations: 0 / 0.541 GB, free: 4.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.3912, allocations: 3.513 MB / 0.5444 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.546, allocations: 11.59 kB / 0.5444 GB, free: 2.457 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_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_Test42.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)