Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001838/0.001838, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.49/1.49, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001759/0.001759, allocations: 111.4 kB / 218 MB, free: 8.332 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.1813/0.1813, allocations: 37.98 MB / 295.1 MB, free: 9.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.317e-05, allocations: 6.75 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.0909, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3339/0.4249, allocations: 75.07 MB / 473.8 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4251, allocations: 67.89 kB / 473.9 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.4363, allocations: 3.89 MB / 477.8 MB, free: 33.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4364, allocations: 0 / 477.8 MB, free: 33.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4364, allocations: 1.375 kB / 477.8 MB, free: 33.45 MB / 346.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.000395/0.4368, allocations: 416.9 kB / 478.2 MB, free: 33.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4369, allocations: 13.56 kB / 478.2 MB, free: 33.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.4369, allocations: 8.031 kB / 478.2 MB, free: 33.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.4371, allocations: 196.4 kB / 478.4 MB, free: 32.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4371, allocations: 1.375 kB / 478.4 MB, free: 32.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.4372, allocations: 2.75 kB / 478.4 MB, free: 32.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.458e-05/0.4372, allocations: 23.42 kB / 478.4 MB, free: 32.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.4373, allocations: 40.72 kB / 478.5 MB, free: 32.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4373, allocations: 3.938 kB / 478.5 MB, free: 32.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4374, allocations: 1.375 kB / 478.5 MB, free: 32.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4374, allocations: 4 kB / 478.5 MB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.4377, allocations: 274.3 kB / 478.7 MB, free: 32.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4378, allocations: 42.31 kB / 478.8 MB, free: 32.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.4379, allocations: 8.984 kB / 478.8 MB, free: 32.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4379, allocations: 1.375 kB / 478.8 MB, free: 32.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.697e-05/0.438, allocations: 63.91 kB / 478.8 MB, free: 32.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.438, allocations: 0 / 478.8 MB, free: 32.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003336/0.4384, allocations: 102.4 kB / 478.9 MB, free: 32.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.4384, allocations: 51.41 kB / 479 MB, free: 32.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4385, allocations: 158.2 kB / 479.1 MB, free: 32.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4385, allocations: 27.08 kB / 479.2 MB, free: 32.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.4386, allocations: 97.89 kB / 479.3 MB, free: 32.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.4386, allocations: 16.28 kB / 479.3 MB, free: 32.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4386, allocations: 5.375 kB / 479.3 MB, free: 32.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.4387, allocations: 321 kB / 479.6 MB, free: 31.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.4387, allocations: 18.06 kB / 479.6 MB, free: 31.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.4388, allocations: 23.72 kB / 479.6 MB, free: 31.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.4388, allocations: 23.81 kB / 479.7 MB, free: 31.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.4388, allocations: 0 / 479.7 MB, free: 31.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001524/0.439, allocations: 94.28 kB / 479.8 MB, free: 31.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.439, allocations: 41.66 kB / 479.8 MB, free: 31.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4391, allocations: 0 / 479.8 MB, free: 31.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4391, allocations: 1.125 kB / 479.8 MB, free: 31.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.4391, allocations: 17.33 kB / 479.8 MB, free: 31.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.4391, allocations: 1.188 kB / 479.8 MB, free: 31.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.4392, allocations: 2.312 kB / 479.8 MB, free: 31.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4392, allocations: 6.453 kB / 479.8 MB, free: 31.71 MB / 346.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 () * 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 6.019e-05/0.4393, allocations: 111 kB / 479.9 MB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.4393, allocations: 8 kB / 479.9 MB, free: 31.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.4395, allocations: 82.11 kB / 480 MB, free: 31.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4395, allocations: 1.062 kB / 480 MB, free: 31.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4395, allocations: 4 kB / 480 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4395, allocations: 5.188 kB / 480 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.4397, allocations: 331.2 kB / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4398, allocations: 0 / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.4398, allocations: 7.797 kB / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4398, allocations: 1.219 kB / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.4398, allocations: 1 kB / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4398, allocations: 0 / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4398, allocations: 1.031 kB / 480.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.44, allocations: 181.9 kB / 480.5 MB, free: 31.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.44, allocations: 91.17 kB / 480.6 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.44, allocations: 3.172 kB / 480.6 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.4401, allocations: 1.219 kB / 480.6 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4402, allocations: 4.781 kB / 480.6 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.4402, allocations: 2.188 kB / 480.6 MB, free: 31.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.4403, allocations: 124.5 kB / 480.8 MB, free: 30.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4403, allocations: 4 kB / 480.8 MB, free: 30.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.4406, allocations: 36.41 kB / 480.8 MB, free: 30.95 MB / 346.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) * 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.0006214/0.4412, allocations: 300 kB / 481.1 MB, free: 30.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.4414, allocations: 108.7 kB / 481.2 MB, free: 30.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4414, allocations: 0 / 481.2 MB, free: 30.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.4414, allocations: 19.84 kB / 481.2 MB, free: 30.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.4416, allocations: 19.86 kB / 481.2 MB, free: 30.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.442, allocations: 130.5 kB / 481.4 MB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4422, allocations: 0.7009 MB / 482.1 MB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.4423, allocations: 10.77 kB / 482.1 MB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.4423, allocations: 15.09 kB / 482.1 MB, free: 29.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4423, allocations: 0 / 482.1 MB, free: 29.88 MB / 346.7 MB Notification: Performance of Templates: time 0.004134/0.4465, allocations: 1.452 MB / 483.6 MB, free: 29.69 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)