Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 202 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.39 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.24/0.24, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002252/0.002252, allocations: 83.86 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3522, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003178/0.3554, allocations: 1.737 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3571, allocations: 1.021 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.3572, allocations: 1.375 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3575, allocations: 58.81 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3578, allocations: 93.59 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.358, allocations: 74.75 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3582, allocations: 105.4 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3584, allocations: 14.7 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.3585, allocations: 44.42 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.3585, allocations: 37.66 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3586, allocations: 2.812 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3587, allocations: 41.05 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.3588, allocations: 23.66 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.3588, allocations: 44.92 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3591, allocations: 121.3 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3591, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3591, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3591, allocations: 5.031 kB / 0.534 GB, free: 10.79 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.0006888/0.3598, allocations: 452.4 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3598, allocations: 8.75 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.3599, allocations: 31.81 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3599, allocations: 10.48 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3603, allocations: 219.7 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3603, allocations: 6.844 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3603, allocations: 5.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3605, allocations: 53.86 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3605, allocations: 5.5 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3605, allocations: 0 / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3605, allocations: 1.531 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/0.3606, allocations: 25.97 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3611, allocations: 296.5 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3612, allocations: 50.41 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.3613, allocations: 25.91 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3613, allocations: 1.375 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.3615, allocations: 68.08 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.3615, allocations: 1 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005774/0.3621, allocations: 183.7 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3621, allocations: 52.78 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3624, allocations: 248 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3624, allocations: 27.08 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.3625, allocations: 109.6 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3626, allocations: 27.95 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.3626, allocations: 24.59 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3628, allocations: 323 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.3628, allocations: 22.98 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.3629, allocations: 43.52 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.363, allocations: 63.77 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3631, allocations: 0 / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.3633, allocations: 100.3 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3633, allocations: 9.656 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3633, allocations: 80 / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3633, allocations: 1.219 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.3634, allocations: 21.08 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3634, allocations: 5.016 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.3635, allocations: 9.969 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3635, allocations: 7.469 kB / 0.5364 GB, free: 8.508 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.0001161/0.3636, allocations: 125.5 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3637, allocations: 14.47 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.3637, allocations: 24.14 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3637, allocations: 1.156 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3637, allocations: 0 / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3637, allocations: 9 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.3642, allocations: 396.6 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3643, allocations: 1.375 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.3643, allocations: 11.66 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3643, allocations: 5.156 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3643, allocations: 1.375 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3643, allocations: 1.406 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3643, allocations: 0 / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3646, allocations: 209.2 kB / 0.5372 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.3647, allocations: 92.97 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3647, allocations: 13.31 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.3648, allocations: 1.812 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3648, allocations: 8.141 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3648, allocations: 2.844 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.365, allocations: 185.7 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.365, allocations: 0 / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3653, allocations: 21.91 kB / 0.5375 GB, free: 7.527 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.002149/0.3675, allocations: 1.086 MB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.3677, allocations: 61.53 kB / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3677, allocations: 0 / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.3678, allocations: 30.11 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3682, allocations: 40.44 kB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3703, allocations: 1.745 MB / 0.5404 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3707, allocations: 0.7174 MB / 0.5411 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.3708, allocations: 18.17 kB / 0.5411 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.3709, allocations: 39.8 kB / 0.5412 GB, free: 4.367 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3709, allocations: 0 / 0.5412 GB, free: 4.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3975, allocations: 3.619 MB / 0.5447 GB, free: 2.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.453, allocations: 10.12 kB / 0.5447 GB, free: 2.43 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)