Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01007/0.01007, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001998/0.001998, allocations: 200.7 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.748/1.748, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3107/0.3107, allocations: 38 MB / 307.9 MB, free: 9.992 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.001404/0.001404, allocations: 75.84 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2939, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003431/0.2974, allocations: 1.669 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.299, allocations: 0.8153 MB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2991, allocations: 1.312 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.2995, allocations: 42.16 kB / 492 MB, free: 18.18 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.0002897/0.2998, allocations: 50.22 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3002, allocations: 88.7 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.3005, allocations: 98.52 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3006, allocations: 12.56 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3007, allocations: 44.64 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3009, allocations: 27.61 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3009, allocations: 3.531 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.301, allocations: 40.97 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.3011, allocations: 27.67 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.933e-05/0.3012, allocations: 33.42 kB / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3015, allocations: 115.8 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3016, allocations: 1.578 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3016, allocations: 3.938 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3016, allocations: 0 / 492.6 MB, free: 17.92 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.0006161/0.3022, allocations: 414.8 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3023, allocations: 14 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.3023, allocations: 14.12 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.3026, allocations: 207 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3026, allocations: 10.62 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3026, allocations: 7.016 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3028, allocations: 53.97 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3028, allocations: 3.938 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3029, allocations: 5.062 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3029, allocations: 1.344 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.303, allocations: 17.52 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3033, allocations: 288.2 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3035, allocations: 64.11 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3036, allocations: 23.95 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3036, allocations: 1.312 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.3038, allocations: 69.84 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3038, allocations: 4 kB / 493.7 MB, free: 16.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.3044, allocations: 168.4 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3044, allocations: 52.97 kB / 494 MB, free: 16.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3046, allocations: 198.6 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3046, allocations: 27.48 kB / 494.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.3047, allocations: 103.9 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3047, allocations: 26.08 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.3047, allocations: 21.5 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.3048, allocations: 330.2 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.3049, allocations: 22.72 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.3049, allocations: 34.98 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3051, allocations: 65.64 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3051, allocations: 0 / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.3052, allocations: 97.47 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3053, allocations: 9.375 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3053, allocations: 2.266 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3053, allocations: 1.062 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.3054, allocations: 14.64 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3054, allocations: 1.031 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3055, allocations: 16.17 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3055, allocations: 2.531 kB / 494.9 MB, free: 15.91 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.032e-05/0.3056, allocations: 122.5 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3056, allocations: 17.89 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3057, allocations: 19.92 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3057, allocations: 5.984 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3057, allocations: 0 / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3057, allocations: 4.594 kB / 495.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.3061, allocations: 387.1 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3061, allocations: 4.875 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.3061, allocations: 12.97 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3061, allocations: 5.344 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3062, allocations: 9.734 kB / 495.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3062, allocations: 1.031 kB / 495.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3062, allocations: 1.609 kB / 495.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3064, allocations: 197.2 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.3064, allocations: 89.52 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3064, allocations: 5.641 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.3065, allocations: 7.438 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3066, allocations: 9.219 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3066, allocations: 4.016 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3067, allocations: 156.1 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3067, allocations: 0 / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.307, allocations: 21.23 kB / 496 MB, free: 15.02 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.001054/0.308, allocations: 480.7 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3082, allocations: 56.73 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3082, allocations: 0 / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.3083, allocations: 33.31 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3087, allocations: 30.58 kB / 496.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.3091, allocations: 236.4 kB / 496.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.3092, allocations: 0.704 MB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.3093, allocations: 16.02 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.3093, allocations: 25.52 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3093, allocations: 0 / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.005049/0.3144, allocations: 1.703 MB / 499.2 MB, free: 13.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)