Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 118.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.001593/0.001593, allocations: 198 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.441/1.441, 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.2313/0.2313, 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.002204/0.002204, allocations: 75.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3467, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004146/0.3509, allocations: 1.73 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.3529, allocations: 1.017 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.353, allocations: 1.375 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.3534, allocations: 42.77 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3537, allocations: 99.94 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.354, allocations: 74.62 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3542, allocations: 109.2 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3544, allocations: 10.66 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3545, allocations: 43.25 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3546, allocations: 33.88 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3547, allocations: 3.938 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3548, allocations: 40.08 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.3549, allocations: 26.47 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.355, allocations: 33.03 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3553, allocations: 121.6 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.3554, allocations: 3.984 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3554, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3554, allocations: 3.938 kB / 0.534 GB, free: 10.82 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.0008311/0.3562, allocations: 425.1 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.69e-05/0.3563, allocations: 14.23 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.3564, allocations: 30.75 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.3564, allocations: 14.7 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.3569, allocations: 216.8 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3569, allocations: 1.594 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.3569, allocations: 6.531 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3571, allocations: 58.7 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3571, allocations: 4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3571, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3571, allocations: 1.438 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.3572, allocations: 23.23 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.3577, allocations: 285.8 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3579, allocations: 69.5 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.358, allocations: 22.28 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.358, allocations: 1.406 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.3582, allocations: 65.27 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3582, allocations: 0 / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.3588, allocations: 174.3 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3588, allocations: 60.77 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.359, allocations: 200 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3591, allocations: 27.08 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.3592, allocations: 97.64 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.3592, allocations: 30.52 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.3593, allocations: 24.59 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3594, allocations: 323 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.3595, allocations: 18.98 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.3596, allocations: 47.39 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3597, allocations: 58.52 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3597, allocations: 1.375 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.36, allocations: 102.8 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.36, allocations: 5.5 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.36, allocations: 5.312 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.36, allocations: 0 / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.3601, allocations: 21.77 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3601, allocations: 1.562 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.3602, allocations: 5.312 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3602, allocations: 6.688 kB / 0.5363 GB, free: 8.598 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.0001396/0.3603, allocations: 134.3 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3604, allocations: 13.66 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.3604, allocations: 17.67 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3605, allocations: 1.406 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3605, allocations: 4.969 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3605, allocations: 3.938 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.361, allocations: 390.2 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.361, allocations: 1.062 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.3611, allocations: 11.45 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3611, allocations: 5.031 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3611, allocations: 2.094 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3611, allocations: 1.031 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3611, allocations: 0 / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3614, allocations: 204.4 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.3615, allocations: 88.2 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3615, allocations: 10.5 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.3616, allocations: 5.266 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3616, allocations: 3.406 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3616, allocations: 7.406 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3618, allocations: 148.9 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3618, allocations: 0 / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3621, allocations: 29.33 kB / 0.5374 GB, free: 7.637 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.002232/0.3643, allocations: 1.096 MB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3645, allocations: 62.36 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3646, allocations: 0 / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.3647, allocations: 34.28 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.365, allocations: 23.94 kB / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.367, allocations: 1.649 MB / 0.5402 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3674, allocations: 0.7062 MB / 0.5409 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.771e-05/0.3674, allocations: 14.03 kB / 0.5409 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.3675, allocations: 35.52 kB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3675, allocations: 0 / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.3936, allocations: 3.47 MB / 0.5443 GB, free: 2.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.417, allocations: 13.78 kB / 0.5443 GB, free: 2.656 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_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_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)