Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009492/0.009492, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001532/0.001532, allocations: 192.3 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.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.33/0.33, allocations: 38 MB / 307.9 MB, free: 10.07 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.001437/0.001437, allocations: 76.56 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002737/0.2994, allocations: 1.67 MB / 491.2 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3014, allocations: 1.421 MB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.3015, allocations: 0 / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.3018, allocations: 32.05 kB / 492.6 MB, free: 17.83 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.0002403/0.302, allocations: 59.06 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.3023, allocations: 83.11 kB / 492.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3025, allocations: 100.1 kB / 492.9 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.3026, allocations: 15.94 kB / 492.9 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.3027, allocations: 41.5 kB / 492.9 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3029, allocations: 36.05 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3029, allocations: 3.938 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.303, allocations: 62.98 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.3031, allocations: 19.52 kB / 493.1 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.3031, allocations: 32.91 kB / 493.1 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3034, allocations: 121.6 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3034, allocations: 4 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3034, allocations: 0 / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3034, allocations: 0.9688 kB / 493.2 MB, free: 17.55 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.0004864/0.3039, allocations: 399.3 kB / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3039, allocations: 13.27 kB / 493.6 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.304, allocations: 10.19 kB / 493.6 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3042, allocations: 211.8 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3042, allocations: 2.578 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3043, allocations: 6.688 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3044, allocations: 78.61 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3045, allocations: 0 / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3045, allocations: 1.25 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3045, allocations: 2.031 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.3046, allocations: 17.92 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.3049, allocations: 280 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.305, allocations: 60.33 kB / 494.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.3051, allocations: 23.72 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3051, allocations: 1.094 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.3053, allocations: 70.5 kB / 494.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.3053, allocations: 4.969 kB / 494.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004987/0.3058, allocations: 163 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3058, allocations: 86.89 kB / 494.6 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.306, allocations: 157.6 kB / 494.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.306, allocations: 31.25 kB / 494.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.306, allocations: 93.94 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3061, allocations: 26 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.3061, allocations: 22.77 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.3062, allocations: 328.9 kB / 495.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.3062, allocations: 25.19 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.3063, allocations: 41.69 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3064, allocations: 58.09 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3064, allocations: 384 / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/0.3066, allocations: 105.4 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3066, allocations: 5.594 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3066, allocations: 0 / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3066, allocations: 5.562 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.3067, allocations: 19.41 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3067, allocations: 1.609 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.3068, allocations: 10.8 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3068, allocations: 6.766 kB / 495.5 MB, free: 15.5 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.586e-05/0.3069, allocations: 117.4 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3069, allocations: 13.75 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.307, allocations: 13.36 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.307, allocations: 0.5625 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.307, allocations: 1.312 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.307, allocations: 4.641 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.3074, allocations: 389.4 kB / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3074, allocations: 0 / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.3074, allocations: 7.812 kB / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3074, allocations: 5 kB / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3074, allocations: 7.844 kB / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3074, allocations: 0 / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3074, allocations: 1.156 kB / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.3076, allocations: 204.9 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3077, allocations: 88.5 kB / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3077, allocations: 6.844 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.3078, allocations: 10.11 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3078, allocations: 6.938 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3078, allocations: 4.25 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.3079, allocations: 122.5 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3079, allocations: 0 / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3082, allocations: 35.06 kB / 496.5 MB, free: 14.62 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.001128/0.3093, allocations: 0.4916 MB / 497 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3096, allocations: 61.7 kB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3096, allocations: 8 kB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.3097, allocations: 35.5 kB / 497.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3101, allocations: 36.11 kB / 497.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.3106, allocations: 186.2 kB / 497.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3108, allocations: 0.6942 MB / 498 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.434e-05/0.3109, allocations: 17.97 kB / 498.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.3109, allocations: 22.75 kB / 498.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3109, allocations: 0 / 498.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.006188/0.3171, allocations: 1.954 MB / 0.4883 GB, free: 13.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)