Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 117.6 kB / 17.78 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.001291/0.001291, allocations: 200.7 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.521/1.521, allocations: 227.4 MB / 247 MB, free: 10.43 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.2214/0.2214, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002242/0.002242, allocations: 83.86 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3502, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003072/0.3533, allocations: 1.683 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3549, allocations: 0.9978 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.355, allocations: 1.5 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.3553, allocations: 53.61 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.3557, allocations: 98.97 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3559, allocations: 77.91 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.356, allocations: 102.9 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3561, allocations: 7.891 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.183e-05/0.3562, allocations: 49.89 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.3563, allocations: 37.66 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3563, allocations: 2.75 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.3564, allocations: 32.61 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.3565, allocations: 21.36 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.3565, allocations: 35.98 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3567, allocations: 99.05 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3567, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3568, allocations: 1.375 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3568, allocations: 4 kB / 0.5339 GB, free: 10.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005572/0.3573, allocations: 414.2 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3574, allocations: 9.625 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.3574, allocations: 30.75 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.3575, allocations: 9.016 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3577, allocations: 216.6 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3578, allocations: 384 / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3578, allocations: 10.62 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3579, allocations: 51.3 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.358, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.358, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.358, allocations: 1.375 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.3581, allocations: 16.23 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.3583, allocations: 186 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3585, allocations: 63 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.3585, allocations: 21.09 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3586, allocations: 0 / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3587, allocations: 65.14 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3587, allocations: 0 / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002784/0.359, allocations: 100.1 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.3591, allocations: 55.41 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3593, allocations: 190.2 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3593, allocations: 25.7 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.3594, allocations: 100.2 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3594, allocations: 14.7 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3594, allocations: 19.22 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3596, allocations: 321.6 kB / 0.5357 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.3597, allocations: 16.23 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.3597, allocations: 27.34 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3599, allocations: 47.52 kB / 0.5358 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3599, allocations: 3.938 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001576/0.36, allocations: 83.11 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.36, allocations: 5.469 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3601, allocations: 1.469 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3601, allocations: 0 / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.3602, allocations: 21.19 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3602, allocations: 1.156 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.3602, allocations: 2.281 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3602, allocations: 2.531 kB / 0.5359 GB, free: 8.859 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 (7): * Single equations (assignments): 7 * 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.000108/0.3603, allocations: 125.1 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.3604, allocations: 8.797 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.3604, allocations: 17.17 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3604, allocations: 1.312 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3604, allocations: 0 / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3605, allocations: 4 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3606, allocations: 193.2 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3606, allocations: 0 / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3607, allocations: 3 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3607, allocations: 0 / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3607, allocations: 9.297 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3607, allocations: 5.25 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3607, allocations: 0 / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3609, allocations: 122.2 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.361, allocations: 87.59 kB / 0.5365 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.361, allocations: 1.219 kB / 0.5365 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.361, allocations: 1.531 kB / 0.5365 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3611, allocations: 6.547 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3611, allocations: 5.219 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3612, allocations: 135.7 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3612, allocations: 0 / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.3615, allocations: 17.58 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001866/0.3633, allocations: 0.9421 MB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.3635, allocations: 40.39 kB / 0.5376 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3635, allocations: 0 / 0.5376 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.3636, allocations: 19.72 kB / 0.5376 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3639, allocations: 50.61 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.3656, allocations: 1.468 MB / 0.5391 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.366, allocations: 0.7051 MB / 0.5398 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.366, allocations: 12.42 kB / 0.5398 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.3661, allocations: 29.41 kB / 0.5398 GB, free: 5.309 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3661, allocations: 1.562 kB / 0.5398 GB, free: 5.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.3901, allocations: 3.095 MB / 0.5429 GB, free: 3.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.756, allocations: 9.938 kB / 0.5429 GB, free: 3.621 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1)