Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009428/0.009428, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001416/0.001416, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.774/1.774, 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.3599/0.3599, allocations: 37.99 MB / 307.9 MB, free: 10.1 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.001686/0.001686, allocations: 79.89 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.348, allocations: 56.46 MB / 489.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00322/0.3512, allocations: 1.669 MB / 491.2 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3526, allocations: 0.8151 MB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.3527, allocations: 0.9062 kB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.3532, allocations: 41.86 kB / 492 MB, free: 18.34 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.0002503/0.3534, allocations: 50.72 kB / 492.1 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.3537, allocations: 84.73 kB / 492.2 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3539, allocations: 99.92 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.354, allocations: 14.5 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3542, allocations: 42.19 kB / 492.3 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.3543, allocations: 25.91 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.3543, allocations: 4.5 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3544, allocations: 46.2 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.3545, allocations: 22.7 kB / 492.4 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.3546, allocations: 34.55 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3549, allocations: 115.3 kB / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3549, allocations: 5.156 kB / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3549, allocations: 0 / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3549, allocations: 0 / 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.0006402/0.3556, allocations: 415 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3556, allocations: 13.61 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.3557, allocations: 14.25 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.356, allocations: 211.2 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.356, allocations: 7.203 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.356, allocations: 10.41 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3562, allocations: 57.53 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3563, allocations: 1.125 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3563, allocations: 1.031 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3563, allocations: 1.312 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.3564, allocations: 17.03 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.3567, allocations: 283.1 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3569, allocations: 65.41 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.357, allocations: 19.83 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.357, allocations: 1.812 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.3572, allocations: 69.11 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.3572, allocations: 0 / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.3577, allocations: 177.3 kB / 493.9 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3578, allocations: 53.39 kB / 494 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.358, allocations: 202 kB / 494.2 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.358, allocations: 27.55 kB / 494.2 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.358, allocations: 103.5 kB / 494.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3581, allocations: 25.8 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3581, allocations: 22.53 kB / 494.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.3582, allocations: 331 kB / 494.7 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.3582, allocations: 20.11 kB / 494.7 MB, free: 16.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.3583, allocations: 40.09 kB / 494.7 MB, free: 16.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3584, allocations: 57.5 kB / 494.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3584, allocations: 384 / 494.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001735/0.3586, allocations: 102.1 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3586, allocations: 8.688 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3587, allocations: 1.797 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3587, allocations: 1.188 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.3588, allocations: 19.59 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3588, allocations: 1.578 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.3588, allocations: 9.828 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3589, allocations: 3.844 kB / 494.9 MB, free: 16.06 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.792e-05/0.359, allocations: 125.9 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.359, allocations: 14.59 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.359, allocations: 23.03 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.359, allocations: 1.766 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.359, allocations: 0 / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3591, allocations: 5.734 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.3595, allocations: 390.1 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3595, allocations: 1.094 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3595, allocations: 8.734 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3595, allocations: 1.734 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3595, allocations: 15.22 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3596, allocations: 0 / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3596, allocations: 1.984 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3598, allocations: 208.5 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.3598, allocations: 88.56 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3599, allocations: 7.5 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.3599, allocations: 2.141 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.36, allocations: 9 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.36, allocations: 5.266 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3602, allocations: 156.1 kB / 496 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3602, allocations: 3.938 kB / 496 MB, free: 15.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3605, allocations: 21.05 kB / 496 MB, free: 15.16 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.001085/0.3616, allocations: 477.4 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.3618, allocations: 56.42 kB / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3618, allocations: 0 / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.3619, allocations: 32.73 kB / 496.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3622, allocations: 34.03 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.3627, allocations: 237.8 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.3629, allocations: 0.7027 MB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.3629, allocations: 17.33 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.363, allocations: 15.77 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.363, allocations: 4 kB / 497.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.005372/0.3684, allocations: 1.732 MB / 499.3 MB, free: 13.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)