Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001473, allocations: 197.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, 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.2276/0.2276, allocations: 46.11 MB / 344.4 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.002483/0.002484, allocations: 79.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3314, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003256/0.3347, allocations: 1.733 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3365, allocations: 1.021 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.3366, allocations: 1.625 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.337, allocations: 44.47 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3373, allocations: 96.34 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3375, allocations: 80.34 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3377, allocations: 103.5 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3378, allocations: 10.88 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.3379, allocations: 40.28 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.338, allocations: 41.41 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3381, allocations: 4.125 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3382, allocations: 43.47 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.3382, allocations: 24.11 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.3383, allocations: 32 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3386, allocations: 131.1 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3386, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3386, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3386, allocations: 0 / 0.534 GB, free: 10.8 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.0006377/0.3393, allocations: 430.2 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3393, allocations: 9.625 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.3394, allocations: 36.11 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3394, allocations: 10.39 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.3398, allocations: 220.6 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3398, allocations: 1.75 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3398, allocations: 6.688 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.34, allocations: 57.98 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.34, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.34, allocations: 4 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.34, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.3401, allocations: 18.98 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3405, allocations: 294.8 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3408, allocations: 57.86 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.3408, allocations: 30.47 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3409, allocations: 0 / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.341, allocations: 65.08 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.341, allocations: 1.375 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.3416, allocations: 187.5 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3417, allocations: 51.41 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3419, allocations: 211.7 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3419, allocations: 26.98 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.342, allocations: 105.4 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3421, allocations: 19.7 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3421, allocations: 24.89 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3423, allocations: 327.1 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.3424, allocations: 22.48 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.3424, allocations: 39.58 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3426, allocations: 59.12 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3426, allocations: 0 / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3428, allocations: 107.7 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3428, allocations: 5.625 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3428, allocations: 5.094 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3428, allocations: 1.188 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.3429, allocations: 12.16 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3429, allocations: 9.234 kB / 0.5364 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.343, allocations: 10.22 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.343, allocations: 3.406 kB / 0.5364 GB, free: 8.57 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.0001289/0.3431, allocations: 131.4 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3432, allocations: 13.44 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.3432, allocations: 15.09 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3432, allocations: 1.125 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3433, allocations: 1.125 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3433, allocations: 3.938 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.3438, allocations: 399.8 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3438, allocations: 0 / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.3438, allocations: 8.062 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.3438, allocations: 5.125 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3438, allocations: 5.031 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3438, allocations: 5.047 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3438, allocations: 1.094 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3441, allocations: 213.4 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.3442, allocations: 83.38 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3442, allocations: 10.78 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.3443, allocations: 1.156 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.3443, allocations: 7.984 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3443, allocations: 2.562 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3445, allocations: 164 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3445, allocations: 4 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3448, allocations: 24.58 kB / 0.5374 GB, free: 7.598 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.002255/0.3471, allocations: 1.091 MB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3473, allocations: 58.09 kB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3473, allocations: 0 / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.3474, allocations: 30.27 kB / 0.5386 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3477, allocations: 45.05 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3499, allocations: 1.679 MB / 0.5402 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3503, allocations: 0.7112 MB / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.3504, allocations: 30.05 kB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.3504, allocations: 35.39 kB / 0.541 GB, free: 4.465 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3505, allocations: 0 / 0.541 GB, free: 4.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.3762, allocations: 3.515 MB / 0.5444 GB, free: 2.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.489, allocations: 1.422 kB / 0.5444 GB, free: 2.586 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_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_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)