Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005088/0.005088, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001055/0.001055, allocations: 197.5 kB / 16.68 MB, free: 5.961 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3802/0.3802, allocations: 37.99 MB / 307.9 MB, free: 10.08 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.001619/0.001619, allocations: 75.84 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4534, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004297/0.4577, allocations: 1.675 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.4595, allocations: 0.8041 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.4596, allocations: 1.031 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.4602, allocations: 92.28 kB / 492.1 MB, free: 18.22 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.0004043/0.4606, allocations: 76.22 kB / 492.2 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.461, allocations: 85.2 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.4613, allocations: 111.1 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4615, allocations: 15.34 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.4616, allocations: 53.31 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.4618, allocations: 59.45 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.4618, allocations: 3.188 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.462, allocations: 46.22 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.4621, allocations: 20.89 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.4622, allocations: 38.64 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.4625, allocations: 123.6 kB / 492.7 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4625, allocations: 0 / 492.7 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4625, allocations: 0 / 492.7 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.4625, allocations: 4.906 kB / 492.7 MB, free: 17.95 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.0006462/0.4632, allocations: 421.6 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.4633, allocations: 17.64 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.4633, allocations: 14.03 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.4637, allocations: 212.5 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4637, allocations: 6.5 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.4638, allocations: 7.344 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.464, allocations: 57.28 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.464, allocations: 4 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.4641, allocations: 2.234 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4641, allocations: 0 / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/0.4642, allocations: 17.73 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.4647, allocations: 297.4 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4649, allocations: 61.19 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.465, allocations: 19.81 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.465, allocations: 1.062 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.4652, allocations: 65.59 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4652, allocations: 0 / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006465/0.4659, allocations: 182.4 kB / 494.1 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4659, allocations: 56.44 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.4662, allocations: 219.7 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.4662, allocations: 26.95 kB / 494.4 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.4663, allocations: 109.7 kB / 494.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.4664, allocations: 21.23 kB / 494.5 MB, free: 16.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.4664, allocations: 26.92 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4665, allocations: 326.2 kB / 494.8 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.649e-05/0.4666, allocations: 22.45 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.4667, allocations: 42.78 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.4668, allocations: 53.86 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4668, allocations: 1.875 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.467, allocations: 108.6 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.467, allocations: 5.844 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4671, allocations: 0.5625 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4671, allocations: 1.312 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4672, allocations: 23.3 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4672, allocations: 1.797 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.4673, allocations: 6.516 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4673, allocations: 3.891 kB / 495.1 MB, free: 15.91 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.0001054/0.4674, allocations: 134 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.4674, allocations: 13.91 kB / 495.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.4675, allocations: 20.95 kB / 495.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4675, allocations: 5.094 kB / 495.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4675, allocations: 4 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4675, allocations: 4.594 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.468, allocations: 394.8 kB / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.468, allocations: 0 / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.4681, allocations: 9.188 kB / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4681, allocations: 1.094 kB / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4681, allocations: 9.844 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4681, allocations: 1.031 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4681, allocations: 1.859 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.4684, allocations: 204.6 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.4684, allocations: 93.23 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4684, allocations: 5.891 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.4685, allocations: 4.266 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4686, allocations: 5.078 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4686, allocations: 8.25 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.4688, allocations: 171.3 kB / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4688, allocations: 0 / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.4691, allocations: 22.12 kB / 496.2 MB, free: 15.01 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.001134/0.4702, allocations: 477.8 kB / 496.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4704, allocations: 55.78 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4704, allocations: 0 / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.4705, allocations: 28.55 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4709, allocations: 39.72 kB / 496.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.4715, allocations: 259.8 kB / 497 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.4718, allocations: 0.7098 MB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.4718, allocations: 17.61 kB / 497.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.4719, allocations: 15.75 kB / 497.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4719, allocations: 0 / 497.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.006647/0.4785, allocations: 1.743 MB / 499.5 MB, free: 13.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)