Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006212/0.006212, allocations: 96.31 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.001146/0.001146, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.3651/0.3651, allocations: 38 MB / 307.9 MB, free: 10.4 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.001425/0.001425, allocations: 75.89 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 56.45 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003133/0.3545, allocations: 1.667 MB / 491.2 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3558, allocations: 0.8094 MB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.3559, allocations: 1.062 kB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.3562, allocations: 37 kB / 492 MB, free: 18.3 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.0002213/0.3564, allocations: 48.72 kB / 492.1 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.3567, allocations: 83.98 kB / 492.2 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3569, allocations: 92.36 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.357, allocations: 22.38 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.3571, allocations: 41.64 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.3572, allocations: 25.05 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3572, allocations: 3.875 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3573, allocations: 51.06 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.3574, allocations: 15.27 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.3575, allocations: 29.7 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3577, allocations: 109.8 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3577, allocations: 1.125 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3577, allocations: 4 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3577, allocations: 0 / 492.5 MB, free: 18.05 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.0004999/0.3582, allocations: 403.5 kB / 492.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3583, allocations: 12.86 kB / 492.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3583, allocations: 14.17 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.3586, allocations: 209.4 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3586, allocations: 5.406 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3586, allocations: 2.984 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3588, allocations: 61.45 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3588, allocations: 1.5 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3588, allocations: 0 / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3588, allocations: 1.125 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.3589, allocations: 22.67 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.3592, allocations: 280 kB / 493.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3594, allocations: 60.73 kB / 493.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.3594, allocations: 19.67 kB / 493.6 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3595, allocations: 9.688 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3596, allocations: 69.84 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3596, allocations: 0 / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005336/0.3602, allocations: 167.4 kB / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.3602, allocations: 64.34 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3604, allocations: 157.3 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3604, allocations: 27.05 kB / 494.1 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.3604, allocations: 98.31 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.3605, allocations: 29.97 kB / 494.2 MB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.3605, allocations: 21.98 kB / 494.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.3606, allocations: 326.3 kB / 494.6 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.3606, allocations: 20.77 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.3607, allocations: 34.72 kB / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.3608, allocations: 62.31 kB / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3608, allocations: 0 / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.361, allocations: 96.47 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.361, allocations: 6.562 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.361, allocations: 1.125 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3611, allocations: 9.5 kB / 494.8 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.3612, allocations: 19.05 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3612, allocations: 1.031 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3612, allocations: 6.891 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3612, allocations: 3.5 kB / 494.8 MB, free: 16.05 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 7.079e-05/0.3613, allocations: 118.7 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3614, allocations: 9.062 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3614, allocations: 17.83 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3614, allocations: 5.75 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3614, allocations: 3.938 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3614, allocations: 1.031 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3618, allocations: 394.5 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3618, allocations: 5.766 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.3618, allocations: 9.172 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3619, allocations: 1.156 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3619, allocations: 1.875 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3619, allocations: 9.094 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3619, allocations: 5.75 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3621, allocations: 203.9 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.3621, allocations: 84.59 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.3622, allocations: 2.422 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.3622, allocations: 6.297 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3623, allocations: 10.11 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3623, allocations: 3.906 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.3624, allocations: 125.9 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3624, allocations: 0 / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3626, allocations: 26.89 kB / 495.8 MB, free: 15.17 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.001014/0.3637, allocations: 475.8 kB / 496.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.3639, allocations: 61.34 kB / 496.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3639, allocations: 0 / 496.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.3639, allocations: 37.14 kB / 496.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.3643, allocations: 29.89 kB / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.3647, allocations: 205.9 kB / 496.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3648, allocations: 0.6966 MB / 497.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.3649, allocations: 17.91 kB / 497.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.365, allocations: 19.56 kB / 497.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.365, allocations: 0.875 kB / 497.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Templates: time 0.005138/0.3701, allocations: 1.693 MB / 499.1 MB, free: 13.67 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)