Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007211/0.007211, allocations: 96.88 kB / 15.73 MB, free: 6.062 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: 202.1 kB / 16.68 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.587/1.587, 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.3338/0.3338, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001577/0.001578, allocations: 63.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3484, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003066/0.3515, allocations: 1.667 MB / 491.2 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3528, allocations: 0.8102 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.3528, allocations: 1.344 kB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3532, allocations: 88.81 kB / 492.1 MB, free: 18.19 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.0002429/0.3534, allocations: 75.2 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3537, allocations: 86.98 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3539, allocations: 100.9 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.354, allocations: 16.67 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.3541, allocations: 53.45 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.3543, allocations: 52.58 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3543, allocations: 8.125 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3544, allocations: 41.92 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.3545, allocations: 19.94 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.3545, allocations: 39 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.3548, allocations: 118.7 kB / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3548, allocations: 0 / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3548, allocations: 0.9688 kB / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3548, allocations: 0 / 492.7 MB, free: 17.93 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.0004799/0.3553, allocations: 425.2 kB / 493.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3553, allocations: 19.42 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.3554, allocations: 13.31 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3556, allocations: 207.9 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3557, allocations: 1.5 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3557, allocations: 6.594 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3558, allocations: 58.53 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3559, allocations: 0 / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3559, allocations: 1.812 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3559, allocations: 7.922 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.356, allocations: 22.36 kB / 493.4 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.3563, allocations: 300.6 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3565, allocations: 56.34 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.3565, allocations: 21.22 kB / 493.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3566, allocations: 1.312 kB / 493.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.3567, allocations: 69.48 kB / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3567, allocations: 0 / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.3573, allocations: 173.8 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3573, allocations: 52.47 kB / 494.1 MB, free: 16.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3576, allocations: 218.6 kB / 494.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3576, allocations: 26.92 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.3576, allocations: 112.6 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3577, allocations: 26.8 kB / 494.5 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3577, allocations: 21.14 kB / 494.5 MB, free: 16.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.3578, allocations: 331.3 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.3579, allocations: 17.69 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3579, allocations: 39.34 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.358, allocations: 61.3 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.358, allocations: 0 / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.3582, allocations: 105.9 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3583, allocations: 5.781 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3583, allocations: 1.125 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3583, allocations: 1.844 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.3584, allocations: 14.91 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3584, allocations: 1.953 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3584, allocations: 9.734 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.3585, allocations: 7.844 kB / 495.1 MB, free: 15.88 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.425e-05/0.3586, allocations: 133.3 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.3586, allocations: 10.38 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.3586, allocations: 16.11 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3586, allocations: 1.062 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3586, allocations: 1.125 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3587, allocations: 4.828 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.359, allocations: 400 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3591, allocations: 1.156 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.3591, allocations: 8.391 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3591, allocations: 1.062 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3591, allocations: 10.67 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3591, allocations: 5.984 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3591, allocations: 0 / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.3593, allocations: 206.8 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.3594, allocations: 87.97 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3594, allocations: 6.797 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.3595, allocations: 7.578 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3595, allocations: 8.062 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3596, allocations: 5.203 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.3597, allocations: 155.9 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 0 / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.36, allocations: 26.31 kB / 496.1 MB, free: 14.99 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.0009706/0.3609, allocations: 471.8 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.3611, allocations: 61.14 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3612, allocations: 4.062 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.3612, allocations: 32.81 kB / 496.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3616, allocations: 25.77 kB / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.3621, allocations: 244.2 kB / 497 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.3622, allocations: 0.7088 MB / 497.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.3623, allocations: 20.39 kB / 497.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.3623, allocations: 20.39 kB / 497.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3624, allocations: 9.219 kB / 497.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of Templates: time 0.004735/0.3671, allocations: 1.703 MB / 499.4 MB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)