Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001363/0.001363, allocations: 169.9 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.334/1.334, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001502/0.001502, allocations: 107.4 kB / 223.2 MB, free: 4.047 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.1936/0.1936, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.97e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4841, allocations: 75.77 MB / 481.5 MB, free: 18.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4843, allocations: 72.92 kB / 481.5 MB, free: 18.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.4948, allocations: 4.081 MB / 485.6 MB, free: 18.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4949, allocations: 0 / 485.6 MB, free: 18.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4949, allocations: 0 / 485.6 MB, free: 18.22 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.0003685/0.4953, allocations: 418.7 kB / 486 MB, free: 17.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4953, allocations: 11.66 kB / 486.1 MB, free: 17.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.4954, allocations: 7.875 kB / 486.1 MB, free: 17.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.4956, allocations: 208.5 kB / 486.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4957, allocations: 0 / 486.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4957, allocations: 3.875 kB / 486.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4958, allocations: 45.25 kB / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4958, allocations: 5.75 kB / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4958, allocations: 0 / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4959, allocations: 0 / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.4959, allocations: 13.53 kB / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.4962, allocations: 301.6 kB / 486.6 MB, free: 17.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.4964, allocations: 41.94 kB / 486.7 MB, free: 17.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.4965, allocations: 12.39 kB / 486.7 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4965, allocations: 0 / 486.7 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.667e-05/0.4966, allocations: 62.44 kB / 486.7 MB, free: 17.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4966, allocations: 0 / 486.7 MB, free: 17.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003417/0.4969, allocations: 114.9 kB / 486.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.497, allocations: 55.31 kB / 486.9 MB, free: 17.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4971, allocations: 168 kB / 487.1 MB, free: 16.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4972, allocations: 33.33 kB / 487.1 MB, free: 16.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.4972, allocations: 101.1 kB / 487.2 MB, free: 16.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.4972, allocations: 9.719 kB / 487.2 MB, free: 16.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.4972, allocations: 3.938 kB / 487.2 MB, free: 16.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.4973, allocations: 321.9 kB / 487.5 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.4974, allocations: 27.28 kB / 487.6 MB, free: 16.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.4974, allocations: 20.81 kB / 487.6 MB, free: 16.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.4975, allocations: 55.97 kB / 487.6 MB, free: 16.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4975, allocations: 0 / 487.6 MB, free: 16.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001481/0.4976, allocations: 136.4 kB / 487.8 MB, free: 16.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4977, allocations: 39.22 kB / 487.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4977, allocations: 0 / 487.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4977, allocations: 0 / 487.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-05/0.4977, allocations: 9.578 kB / 487.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4977, allocations: 0 / 487.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.4978, allocations: 13.97 kB / 487.8 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4978, allocations: 11.2 kB / 487.8 MB, free: 16.39 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.407e-05/0.4979, allocations: 105.4 kB / 487.9 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.4979, allocations: 7.75 kB / 487.9 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.4981, allocations: 95.95 kB / 488 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4981, allocations: 0 / 488 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4981, allocations: 1.344 kB / 488 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4981, allocations: 0 / 488 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.4984, allocations: 358 kB / 488.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4984, allocations: 0 / 488.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.4985, allocations: 11.34 kB / 488.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4985, allocations: 1.438 kB / 488.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4985, allocations: 3.062 kB / 488.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4985, allocations: 0 / 488.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4985, allocations: 0 / 488.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.4986, allocations: 179.3 kB / 488.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.4987, allocations: 99.3 kB / 488.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.4987, allocations: 8.109 kB / 488.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.4988, allocations: 4 kB / 488.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4988, allocations: 9.781 kB / 488.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4988, allocations: 0 / 488.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.4989, allocations: 145.4 kB / 488.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4989, allocations: 0 / 488.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.4992, allocations: 40.47 kB / 488.9 MB, free: 15.59 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.0006528/0.4998, allocations: 327.1 kB / 489.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.5, allocations: 108.9 kB / 489.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5, allocations: 3.938 kB / 489.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.5, allocations: 18.56 kB / 489.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5003, allocations: 18.67 kB / 489.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.5005, allocations: 147.7 kB / 489.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.5007, allocations: 0.7001 MB / 490.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.5007, allocations: 13.86 kB / 490.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.5008, allocations: 17.44 kB / 490.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5008, allocations: 0 / 490.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of Templates: time 0.003765/0.5046, allocations: 1.54 MB / 491.8 MB, free: 14.33 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)