Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006657/0.006657, allocations: 100.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 186.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3523/0.3523, allocations: 38 MB / 307.9 MB, free: 9.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 75.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4166, allocations: 56.45 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003714/0.4204, allocations: 1.677 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4221, allocations: 0.8112 MB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.4223, allocations: 0 / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.4228, allocations: 44.03 kB / 492 MB, free: 18.24 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.4231, allocations: 45.19 kB / 492.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.4234, allocations: 89.33 kB / 492.2 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.4237, allocations: 91.12 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.4238, allocations: 19.55 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.424, allocations: 41.45 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.4242, allocations: 31.05 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.4242, allocations: 3.469 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.4244, allocations: 43.36 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.4245, allocations: 25.33 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.4246, allocations: 29.28 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.4249, allocations: 119.5 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.425, allocations: 0 / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.425, allocations: 4 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.425, allocations: 1.062 kB / 492.6 MB, free: 17.98 MB / 382.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.0009814/0.426, allocations: 408 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.825e-05/0.4261, allocations: 15.03 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.4261, allocations: 9.406 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.4266, allocations: 202.6 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4266, allocations: 2.547 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.4267, allocations: 14.14 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4269, allocations: 62.7 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4269, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4269, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4269, allocations: 1 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.427, allocations: 19.03 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.4275, allocations: 290.1 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.4277, allocations: 63.78 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.4278, allocations: 20.61 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.4278, allocations: 1.922 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.428, allocations: 65.47 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.879e-06/0.428, allocations: 0 / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006939/0.4287, allocations: 176.1 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4288, allocations: 57.5 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.4291, allocations: 183.7 kB / 494.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4291, allocations: 27.5 kB / 494.2 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.4292, allocations: 102.8 kB / 494.3 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.4292, allocations: 25.89 kB / 494.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.4293, allocations: 22.95 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4294, allocations: 326.2 kB / 494.6 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.4295, allocations: 25.14 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.4296, allocations: 40.12 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.4297, allocations: 52.97 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4297, allocations: 1.5 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.4299, allocations: 104.6 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.43, allocations: 5.25 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.43, allocations: 0.6562 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.43, allocations: 9.062 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4302, allocations: 15.95 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.4302, allocations: 1.75 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.4302, allocations: 10.77 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4303, allocations: 6.281 kB / 494.9 MB, free: 15.98 MB / 382.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.0001121/0.4304, allocations: 125.6 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.4304, allocations: 9.875 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.4305, allocations: 14.16 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4305, allocations: 5.312 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4305, allocations: 1.062 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4305, allocations: 4.688 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.4311, allocations: 390.1 kB / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4311, allocations: 0 / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.4312, allocations: 9.922 kB / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4312, allocations: 0 / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.4312, allocations: 6.828 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4312, allocations: 1.75 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4312, allocations: 4.031 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.4315, allocations: 204.4 kB / 495.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.4316, allocations: 89.64 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.4316, allocations: 7.172 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4317, allocations: 7.094 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.4317, allocations: 8.953 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.4318, allocations: 4.359 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.4319, allocations: 143.9 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4319, allocations: 0 / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.4322, allocations: 26.64 kB / 495.9 MB, free: 15.1 MB / 382.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.001326/0.4336, allocations: 483.2 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.4338, allocations: 55.52 kB / 496.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4338, allocations: 1.031 kB / 496.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.4339, allocations: 28.77 kB / 496.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4343, allocations: 34.72 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.4348, allocations: 225.7 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.4351, allocations: 0.7086 MB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.4351, allocations: 16.8 kB / 497.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.4352, allocations: 16.58 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4352, allocations: 1.062 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.006487/0.4417, allocations: 1.723 MB / 499.2 MB, free: 13.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)