Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01026/0.01026, allocations: 101.2 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.002142/0.002142, allocations: 196.2 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3304/0.3304, allocations: 39.94 MB / 309.8 MB, free: 9.418 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.2. 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.001466/0.001466, allocations: 67.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3592, allocations: 56.87 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003236/0.3625, allocations: 1.688 MB / 494.4 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3637, allocations: 0.8046 MB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.3638, allocations: 5.094 kB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.3641, allocations: 40.42 kB / 495.3 MB, free: 17.73 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.000218/0.3643, allocations: 52.56 kB / 495.3 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.3646, allocations: 77.02 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3648, allocations: 97.66 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.3649, allocations: 15.86 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.365, allocations: 41.5 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.3651, allocations: 38.53 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3651, allocations: 4.375 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3652, allocations: 38.08 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.3653, allocations: 16.72 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3653, allocations: 32.44 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3656, allocations: 104.3 kB / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3656, allocations: 0 / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3656, allocations: 0 / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3656, allocations: 1.375 kB / 495.8 MB, free: 17.49 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.0005276/0.3661, allocations: 410.1 kB / 496.2 MB, free: 17.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3662, allocations: 13.36 kB / 496.2 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3662, allocations: 9.438 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3665, allocations: 209.4 kB / 496.4 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3665, allocations: 5.641 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3665, allocations: 7.422 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3667, allocations: 52.8 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3667, allocations: 1.188 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3667, allocations: 0.6562 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3667, allocations: 1.281 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.3668, allocations: 29.75 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.3671, allocations: 279.9 kB / 496.8 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3673, allocations: 53.03 kB / 496.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.3674, allocations: 20.8 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3674, allocations: 5.5 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3676, allocations: 72.64 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3676, allocations: 0 / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3682, allocations: 179.9 kB / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3682, allocations: 57.8 kB / 497.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3684, allocations: 158.5 kB / 497.3 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3684, allocations: 30.95 kB / 497.3 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.3684, allocations: 99.36 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3685, allocations: 25.78 kB / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3685, allocations: 25.64 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.3686, allocations: 323.2 kB / 497.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.3686, allocations: 16.77 kB / 497.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.3687, allocations: 35.41 kB / 497.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3688, allocations: 64.28 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3688, allocations: 1.375 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.369, allocations: 96.27 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3691, allocations: 5.562 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3691, allocations: 0.9688 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3691, allocations: 9.469 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3692, allocations: 15.03 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3692, allocations: 1.5 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3693, allocations: 7.156 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3693, allocations: 3.25 kB / 498 MB, free: 15.49 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.423e-05/0.3694, allocations: 121.9 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3694, allocations: 16.73 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.3695, allocations: 18.42 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.3695, allocations: 1.375 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3695, allocations: 0.75 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3695, allocations: 0 / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.3699, allocations: 394.9 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3699, allocations: 1.891 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.37, allocations: 12.2 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.37, allocations: 1.719 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.37, allocations: 2 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.37, allocations: 1.031 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.37, allocations: 1 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3702, allocations: 207.9 kB / 498.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.3703, allocations: 85.89 kB / 498.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3703, allocations: 6.016 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.3704, allocations: 7.469 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3704, allocations: 5.109 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3705, allocations: 4.562 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3706, allocations: 125.5 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.193e-06/0.3706, allocations: 3.938 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3708, allocations: 33.95 kB / 499.1 MB, free: 14.6 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.001058/0.3719, allocations: 469 kB / 499.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3721, allocations: 64.03 kB / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3721, allocations: 0 / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.3722, allocations: 27.91 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3725, allocations: 35.05 kB / 499.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.373, allocations: 197.2 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.3731, allocations: 0.7092 MB / 0.4888 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.3732, allocations: 17.25 kB / 0.4888 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3732, allocations: 16.78 kB / 0.4889 GB, free: 13.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3733, allocations: 0 / 0.4889 GB, free: 13.31 MB / 382.1 MB Notification: Performance of Templates: time 0.004929/0.3782, allocations: 1.711 MB / 0.4905 GB, free: 13.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)