Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001093/0.001093, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.233/1.233, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001575/0.001575, allocations: 102.8 kB / 223.2 MB, free: 4.109 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.1702/0.1702, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.695e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.08942, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4241, allocations: 75.76 MB / 481.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4244, allocations: 70.02 kB / 481.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01086/0.4353, allocations: 4.077 MB / 485.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4354, allocations: 0 / 485.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.4354, allocations: 3.906 kB / 485.6 MB, free: 18.1 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.0003692/0.4358, allocations: 412.9 kB / 486 MB, free: 17.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4358, allocations: 11.66 kB / 486 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.4359, allocations: 13.75 kB / 486.1 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4361, allocations: 203.2 kB / 486.2 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4361, allocations: 3.375 kB / 486.3 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.4361, allocations: 3.844 kB / 486.3 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.949e-05/0.4362, allocations: 42.75 kB / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4362, allocations: 0 / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4363, allocations: 0 / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4363, allocations: 3.969 kB / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.4363, allocations: 13.66 kB / 486.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.4367, allocations: 300.1 kB / 486.6 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.4369, allocations: 44.56 kB / 486.7 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.4369, allocations: 8.766 kB / 486.7 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4369, allocations: 0 / 486.7 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.437, allocations: 64.88 kB / 486.7 MB, free: 17.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.437, allocations: 4 kB / 486.7 MB, free: 17.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003282/0.4374, allocations: 117.8 kB / 486.8 MB, free: 17.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.4374, allocations: 54.97 kB / 486.9 MB, free: 16.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4376, allocations: 164 kB / 487.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.4376, allocations: 33.08 kB / 487.1 MB, free: 16.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.4376, allocations: 100.4 kB / 487.2 MB, free: 16.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.4376, allocations: 9.844 kB / 487.2 MB, free: 16.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.4377, allocations: 3.5 kB / 487.2 MB, free: 16.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.4377, allocations: 326.5 kB / 487.5 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.4378, allocations: 22.66 kB / 487.5 MB, free: 16.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.4378, allocations: 26.14 kB / 487.6 MB, free: 16.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.4378, allocations: 51.94 kB / 487.6 MB, free: 16.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4379, allocations: 0 / 487.6 MB, free: 16.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001399/0.438, allocations: 133.3 kB / 487.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.438, allocations: 39.62 kB / 487.8 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.438, allocations: 3.969 kB / 487.8 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4381, allocations: 0 / 487.8 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.4381, allocations: 9.891 kB / 487.8 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4381, allocations: 0 / 487.8 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.4382, allocations: 15.88 kB / 487.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4382, allocations: 3.953 kB / 487.8 MB, free: 16.26 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 () * 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 4.493e-05/0.4382, allocations: 111.2 kB / 487.9 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.4382, allocations: 7.781 kB / 487.9 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.4384, allocations: 91.83 kB / 488 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4384, allocations: 0 / 488 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4384, allocations: 0 / 488 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4384, allocations: 4.031 kB / 488 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.4387, allocations: 366.3 kB / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4387, allocations: 0 / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.4387, allocations: 11.69 kB / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4387, allocations: 0 / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4388, allocations: 0 / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4388, allocations: 0 / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4388, allocations: 3.875 kB / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.4389, allocations: 175.2 kB / 488.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.4389, allocations: 94.22 kB / 488.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.439, allocations: 3.844 kB / 488.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.439, allocations: 1.734 kB / 488.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.4391, allocations: 9.406 kB / 488.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4391, allocations: 0 / 488.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.4391, allocations: 144.6 kB / 488.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4392, allocations: 0 / 488.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.4394, allocations: 40.28 kB / 488.9 MB, free: 15.47 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) * 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.0006191/0.44, allocations: 336.9 kB / 489.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.4402, allocations: 109.5 kB / 489.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4402, allocations: 3.938 kB / 489.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.4402, allocations: 19.31 kB / 489.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.4404, allocations: 15.42 kB / 489.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.4407, allocations: 146.5 kB / 489.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.441, allocations: 0.7012 MB / 490.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.4411, allocations: 13.69 kB / 490.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.4411, allocations: 20.22 kB / 490.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4411, allocations: 0 / 490.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Templates: time 0.003702/0.4448, allocations: 1.53 MB / 491.7 MB, free: 14.22 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)