Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009156/0.009156, allocations: 98.23 kB / 15.73 MB, free: 6.012 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.001474/0.001474, allocations: 196.7 kB / 16.67 MB, free: 5.93 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.627/1.627, 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.3197/0.3197, 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.00278/0.00278, allocations: 75.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3283, allocations: 56.46 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003316/0.3317, allocations: 1.674 MB / 491.2 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.333, allocations: 0.7988 MB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.3331, allocations: 1.5 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.3335, allocations: 44.94 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.0002269/0.3337, allocations: 51 kB / 492.1 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.334, allocations: 84.02 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3342, allocations: 99.33 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3343, allocations: 11.2 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3344, allocations: 46.59 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.3345, allocations: 29.48 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3345, allocations: 4.312 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3346, allocations: 42.08 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.3347, allocations: 21.98 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.3348, allocations: 33.95 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.335, allocations: 119.9 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.335, allocations: 0 / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3351, allocations: 0 / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3351, 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.0005318/0.3356, allocations: 413.1 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3357, allocations: 14.62 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.3357, allocations: 8.656 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.336, allocations: 202.6 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.336, allocations: 6.734 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.336, allocations: 14.25 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3362, allocations: 62.19 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3362, allocations: 0 / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3362, allocations: 1 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3362, allocations: 1 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.3363, allocations: 17.73 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.3367, allocations: 287.2 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3368, allocations: 68.36 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.3369, allocations: 19.66 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.3369, allocations: 5.062 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.3371, allocations: 65.95 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3371, allocations: 0 / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000584/0.3377, allocations: 171.9 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3378, allocations: 53.22 kB / 493.9 MB, free: 16.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3379, allocations: 185.1 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.338, allocations: 26.92 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.338, allocations: 103.3 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3381, allocations: 21.7 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3381, allocations: 26.11 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.3382, allocations: 330.5 kB / 494.6 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.3382, allocations: 21.73 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.3383, allocations: 38.86 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3384, allocations: 58.33 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3384, allocations: 0 / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001714/0.3386, allocations: 101.6 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3386, allocations: 8.938 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3386, allocations: 1.062 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3387, allocations: 1 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.3388, allocations: 16.47 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3388, allocations: 1.156 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3388, allocations: 10.17 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3388, allocations: 3.469 kB / 494.9 MB, free: 15.92 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.699e-05/0.3389, allocations: 131 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.339, allocations: 14.45 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.339, allocations: 18.16 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.339, allocations: 1.188 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.339, allocations: 384 / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.339, allocations: 4.594 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.3394, allocations: 390.3 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3394, allocations: 5.344 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3395, allocations: 9.047 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3395, allocations: 0 / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3395, allocations: 10.48 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3395, allocations: 2.031 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3395, allocations: 3.938 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.3397, allocations: 204.8 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.3397, allocations: 85.92 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.3398, allocations: 5.891 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.3398, allocations: 6.594 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3399, allocations: 9.297 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3399, allocations: 4.875 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.34, allocations: 144.1 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.34, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3403, allocations: 25.83 kB / 495.9 MB, free: 15.03 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.0009797/0.3413, allocations: 470.6 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.3415, allocations: 57.03 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3415, allocations: 0 / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.3416, allocations: 40.25 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3419, allocations: 42.8 kB / 496.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.3424, allocations: 225.4 kB / 496.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3425, allocations: 0.7013 MB / 497.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.3426, allocations: 13.16 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3426, allocations: 16.62 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3426, allocations: 4 kB / 497.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of Templates: time 0.005145/0.3478, allocations: 1.698 MB / 499.2 MB, free: 13.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)