Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008432/0.008432, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.429/1.429, allocations: 170.8 MB / 186.6 MB, free: 1.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001661/0.001661, allocations: 117.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3489/0.3489, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004526, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.5347, allocations: 75.87 MB / 487.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5351, allocations: 66.59 kB / 487.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.5456, allocations: 4.16 MB / 491.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.5457, allocations: 4 kB / 491.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.5457, allocations: 4 kB / 491.7 MB, free: 8.383 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005312/0.5462, allocations: 433.8 kB / 492.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5463, allocations: 8.031 kB / 492.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.5463, allocations: 15.84 kB / 492.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.5466, allocations: 200.5 kB / 492.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5466, allocations: 0 / 492.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.5466, allocations: 4 kB / 492.3 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.5468, allocations: 49.36 kB / 492.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5468, allocations: 3.984 kB / 492.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.5468, allocations: 0.5 kB / 492.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5468, allocations: 0 / 492.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.5469, allocations: 16.45 kB / 492.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.5473, allocations: 304.9 kB / 492.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.5475, allocations: 46 kB / 492.7 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.5475, allocations: 0 / 492.7 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.5477, allocations: 62.36 kB / 492.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.5477, allocations: 4 kB / 492.8 MB, free: 7.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004554/0.5482, allocations: 118.2 kB / 492.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.5482, allocations: 51.41 kB / 493 MB, free: 6.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5484, allocations: 183.6 kB / 493.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5484, allocations: 40.83 kB / 493.2 MB, free: 6.781 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.5484, allocations: 98.88 kB / 493.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.5485, allocations: 19 kB / 493.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.5485, allocations: 0 / 493.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.5486, allocations: 330.5 kB / 493.6 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.5486, allocations: 23.11 kB / 493.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.5487, allocations: 20.31 kB / 493.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.5487, allocations: 56.83 kB / 493.7 MB, free: 6.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5487, allocations: 3.938 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001631/0.5489, allocations: 142.3 kB / 493.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.549, allocations: 33.52 kB / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.549, allocations: 0 / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.549, allocations: 0 / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.549, allocations: 8 kB / 493.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5491, allocations: 4 kB / 493.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.5491, allocations: 3.984 kB / 493.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5491, allocations: 4 kB / 493.9 MB, free: 6.082 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.5492, allocations: 126.6 kB / 494 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.5493, allocations: 11.91 kB / 494.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.5495, allocations: 100.7 kB / 494.2 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5495, allocations: 4 kB / 494.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5495, allocations: 0 / 494.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5495, allocations: 0 / 494.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.5498, allocations: 357.5 kB / 494.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5498, allocations: 0 / 494.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.5499, allocations: 11.94 kB / 494.5 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5499, allocations: 4 kB / 494.5 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5499, allocations: 4 kB / 494.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5499, allocations: 0 / 494.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5499, allocations: 0 / 494.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.5501, allocations: 177.7 kB / 494.7 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.5501, allocations: 85.02 kB / 494.8 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.5502, allocations: 11.19 kB / 494.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.5502, allocations: 0 / 494.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.5503, allocations: 11.98 kB / 494.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.5503, allocations: 0 / 494.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.5504, allocations: 152.6 kB / 495 MB, free: 5.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5504, allocations: 0 / 495 MB, free: 5.035 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5507, allocations: 43 kB / 495 MB, free: 4.996 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009493/0.5517, allocations: 369.8 kB / 495.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.5519, allocations: 112.9 kB / 495.5 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5519, allocations: 0 / 495.5 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/0.5519, allocations: 15.44 kB / 495.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.5522, allocations: 26.05 kB / 495.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.5526, allocations: 225.2 kB / 495.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.5528, allocations: 0.7036 MB / 496.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.5529, allocations: 11.98 kB / 496.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.5529, allocations: 15.44 kB / 496.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5529, allocations: 0 / 496.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of Templates: time 0.00367/0.5566, allocations: 1.558 MB / 498 MB, free: 2.055 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)