Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 202 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.502/1.502, 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.2226/0.2226, allocations: 46.13 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.002702/0.002702, allocations: 91.86 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3511, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002972/0.3541, allocations: 1.73 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3557, allocations: 1.026 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.3558, allocations: 0 / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.3562, allocations: 82.95 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.3565, allocations: 110.5 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3567, allocations: 87.09 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3569, allocations: 108.9 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.357, allocations: 19.88 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.3571, allocations: 48.66 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3572, allocations: 67.38 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3572, allocations: 4.188 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.3573, allocations: 42.92 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.3574, allocations: 28.84 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.3574, allocations: 39.83 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3577, allocations: 123.9 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3577, allocations: 1.375 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3577, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3577, allocations: 0 / 0.5341 GB, free: 10.75 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.0005671/0.3583, allocations: 431.5 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3583, allocations: 13.56 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.3583, allocations: 34.75 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.3584, allocations: 19.72 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3587, allocations: 212.6 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3587, allocations: 1.75 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3587, allocations: 10.69 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3589, allocations: 50.05 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3589, allocations: 0 / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3589, allocations: 4 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3589, allocations: 1.375 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.359, allocations: 22.92 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.3594, allocations: 296.2 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3595, allocations: 53.94 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.3596, allocations: 21.09 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3596, allocations: 1.375 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.3598, allocations: 77.08 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3598, allocations: 0 / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005102/0.3603, allocations: 175.7 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3604, allocations: 52.78 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3606, allocations: 229 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3606, allocations: 31.7 kB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.3607, allocations: 105.9 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3607, allocations: 30.84 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3608, allocations: 24.58 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3609, allocations: 326.8 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.361, allocations: 19.61 kB / 0.5363 GB, free: 8.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.3611, allocations: 38.8 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3612, allocations: 59.31 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3612, allocations: 4 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.3614, allocations: 101 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3614, allocations: 9.062 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3614, allocations: 0 / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3614, allocations: 1.5 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.3615, allocations: 13.03 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3615, allocations: 8.984 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.3616, allocations: 10.16 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3616, allocations: 2.812 kB / 0.5365 GB, free: 8.5 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.0001117/0.3617, allocations: 133.3 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3618, allocations: 14.59 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3618, allocations: 15.28 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3618, allocations: 1.062 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3618, allocations: 0 / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.3619, allocations: 5.125 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.3623, allocations: 399.6 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3624, allocations: 4.938 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.3624, allocations: 11.69 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3624, allocations: 5.031 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3624, allocations: 9.047 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3624, allocations: 1.188 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3624, allocations: 1.531 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3627, allocations: 197.2 kB / 0.5373 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.3628, allocations: 88.62 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.3628, allocations: 9.188 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.3629, allocations: 14.31 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.3629, allocations: 7.203 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3629, allocations: 3.406 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3631, allocations: 173.5 kB / 0.5375 GB, free: 7.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3631, allocations: 0 / 0.5375 GB, free: 7.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3634, allocations: 24.75 kB / 0.5376 GB, free: 7.52 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.002086/0.3654, allocations: 1.097 MB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3656, allocations: 53.11 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3657, allocations: 1.156 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.3657, allocations: 32.83 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3661, allocations: 31.89 kB / 0.5387 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.368, allocations: 1.72 MB / 0.5404 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3684, allocations: 0.7126 MB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.3684, allocations: 14.53 kB / 0.5411 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.3685, allocations: 39.33 kB / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3685, allocations: 4 kB / 0.5412 GB, free: 4.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.3932, allocations: 3.568 MB / 0.5447 GB, free: 2.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.546, allocations: 12.33 kB / 0.5447 GB, free: 2.465 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)