Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01024/0.01024, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001815/0.001816, allocations: 185.3 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.693/1.693, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.3405/0.3405, allocations: 37.99 MB / 307.9 MB, free: 10.06 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.001709/0.001709, allocations: 72.42 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3563, allocations: 56.45 MB / 489.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002965/0.3593, allocations: 1.677 MB / 491.2 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3605, allocations: 0.814 MB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3606, allocations: 1.031 kB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3609, allocations: 43.05 kB / 492 MB, free: 18.32 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.0002072/0.3611, allocations: 43.73 kB / 492.1 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3614, allocations: 89.3 kB / 492.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3615, allocations: 90.55 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3617, allocations: 19.53 kB / 492.3 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.3618, allocations: 42.33 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.3618, allocations: 31.33 kB / 492.3 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3619, allocations: 3.469 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.362, allocations: 41.47 kB / 492.4 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.362, allocations: 21.5 kB / 492.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.3621, allocations: 28.88 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3623, allocations: 113.3 kB / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3624, allocations: 1.156 kB / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3624, allocations: 0 / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3624, allocations: 4 kB / 492.6 MB, free: 18.07 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.0005854/0.363, allocations: 403.6 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.363, allocations: 17.92 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3631, allocations: 9.906 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3633, allocations: 210 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3634, allocations: 1.5 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3634, allocations: 10.34 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3636, allocations: 58.41 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3636, allocations: 9.125 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3636, allocations: 4 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3636, allocations: 1.375 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.3637, allocations: 18.58 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.364, allocations: 283.6 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3642, allocations: 61.33 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.3643, allocations: 19.5 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3643, allocations: 5.797 kB / 493.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.3645, allocations: 61.69 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3645, allocations: 0 / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005532/0.3651, allocations: 175.7 kB / 493.9 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3651, allocations: 57.97 kB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3653, allocations: 168.8 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.3653, allocations: 26.8 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.3653, allocations: 99.12 kB / 494.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3654, allocations: 25.33 kB / 494.2 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.3654, allocations: 22.78 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.3655, allocations: 329.6 kB / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.3655, allocations: 18.31 kB / 494.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.3656, allocations: 43.33 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3657, allocations: 56.91 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3657, allocations: 0 / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.3659, allocations: 105.8 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3659, allocations: 5.5 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.366, allocations: 3.984 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.366, allocations: 1.781 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3661, allocations: 19.19 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3661, allocations: 1.188 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.3662, allocations: 14.75 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3662, allocations: 3.859 kB / 494.9 MB, free: 16.07 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 8.74e-05/0.3663, allocations: 123.5 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.3663, allocations: 9.109 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.3663, allocations: 14.53 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3663, allocations: 0.9688 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3664, allocations: 6.266 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3664, allocations: 4.453 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.3668, allocations: 391.3 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.3668, allocations: 5.797 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.3668, allocations: 12.33 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3668, allocations: 1.797 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3669, allocations: 5.859 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3669, allocations: 1.188 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3669, allocations: 6 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3671, allocations: 199.8 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.3671, allocations: 84.38 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3672, allocations: 14.48 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.3672, allocations: 3.203 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3673, allocations: 5 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3673, allocations: 8.438 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.3674, allocations: 132.5 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3674, allocations: 1.094 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3677, allocations: 25.47 kB / 495.9 MB, free: 15.18 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.001091/0.3688, allocations: 468.7 kB / 496.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.369, allocations: 60.22 kB / 496.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.369, allocations: 1.094 kB / 496.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3691, allocations: 24.09 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3695, allocations: 27.77 kB / 496.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.3699, allocations: 214.7 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3701, allocations: 0.6988 MB / 497.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.3702, allocations: 17.38 kB / 497.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.3703, allocations: 20.61 kB / 497.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3703, allocations: 0 / 497.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.005516/0.3758, allocations: 1.733 MB / 499.1 MB, free: 13.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)