Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 122.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.00189/0.001891, allocations: 202 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.435/1.435, 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.24/0.24, allocations: 46.11 MB / 344.3 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.002333/0.002334, allocations: 83.86 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.358, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003144/0.3612, allocations: 1.749 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3631, allocations: 1.026 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.3632, allocations: 1.312 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.3636, allocations: 94.64 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.364, allocations: 120.4 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3642, allocations: 78.58 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3645, allocations: 123.9 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3646, allocations: 13 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3647, allocations: 59.66 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3649, allocations: 63.09 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3649, allocations: 3.875 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.365, allocations: 55.52 kB / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.3651, allocations: 36.5 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.3652, allocations: 44.7 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.3655, allocations: 142.5 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3655, allocations: 3.938 kB / 0.5342 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3655, allocations: 1.375 kB / 0.5342 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3655, allocations: 0 / 0.5342 GB, free: 10.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006196/0.3661, allocations: 442.2 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3662, allocations: 9.625 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.3662, allocations: 40.11 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.3663, allocations: 14.34 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3666, allocations: 227.5 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3666, allocations: 11.11 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3667, allocations: 6.688 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3668, allocations: 55.42 kB / 0.535 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3668, allocations: 5.312 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3669, allocations: 0 / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3669, allocations: 5.359 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.367, allocations: 28.34 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.3674, allocations: 305.6 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3676, allocations: 58.05 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.3677, allocations: 22.61 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3677, allocations: 1.375 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.3679, allocations: 81.05 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3679, allocations: 5.312 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007754/0.3687, allocations: 239.2 kB / 0.5357 GB, free: 9.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3687, allocations: 56.47 kB / 0.5358 GB, free: 9.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.369, allocations: 239.5 kB / 0.536 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3691, allocations: 28.05 kB / 0.536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.3692, allocations: 114.5 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.3692, allocations: 28.66 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.3693, allocations: 33.95 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3695, allocations: 327 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.3695, allocations: 27.64 kB / 0.5365 GB, free: 8.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.3696, allocations: 46.92 kB / 0.5366 GB, free: 8.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3698, allocations: 85.25 kB / 0.5366 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3698, allocations: 4 kB / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002652/0.3701, allocations: 134.1 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3701, allocations: 5.469 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.3701, allocations: 5.125 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3702, allocations: 1.188 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.3703, allocations: 24.39 kB / 0.5368 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3703, allocations: 1.062 kB / 0.5368 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.3703, allocations: 2.25 kB / 0.5368 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3703, allocations: 3.438 kB / 0.5368 GB, free: 8.363 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 (13): * Single equations (assignments): 13 * 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.0001392/0.3705, allocations: 143.5 kB / 0.537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.3705, allocations: 14.72 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.3706, allocations: 20.39 kB / 0.537 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3706, allocations: 5.375 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3706, allocations: 0 / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3706, allocations: 1.344 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.3712, allocations: 461.9 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3712, allocations: 5.312 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.3713, allocations: 12 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3713, allocations: 1.094 kB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3713, allocations: 2.125 kB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.3713, allocations: 5.953 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3713, allocations: 4.969 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.3716, allocations: 238 kB / 0.5377 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.3717, allocations: 89.23 kB / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.3717, allocations: 6.734 kB / 0.5378 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.3718, allocations: 6.469 kB / 0.5378 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3719, allocations: 8.828 kB / 0.5378 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3719, allocations: 4.031 kB / 0.5378 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.372, allocations: 174 kB / 0.538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3721, allocations: 0 / 0.538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3723, allocations: 36.73 kB / 0.538 GB, free: 7.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002434/0.3748, allocations: 1.174 MB / 0.5391 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.375, allocations: 86.34 kB / 0.5392 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.375, allocations: 0 / 0.5392 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.3751, allocations: 39.61 kB / 0.5393 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3755, allocations: 32.52 kB / 0.5393 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.3778, allocations: 1.847 MB / 0.5411 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3782, allocations: 0.7173 MB / 0.5418 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.052e-05/0.3783, allocations: 24.22 kB / 0.5418 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.3784, allocations: 48.12 kB / 0.5419 GB, free: 4.027 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3784, allocations: 1.188 kB / 0.5419 GB, free: 4.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.4046, allocations: 3.941 MB / 0.5457 GB, free: 1.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.57, allocations: 9.281 kB / 0.5457 GB, free: 1.941 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)