Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009813/0.0009814, 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.289/1.289, 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.001539/0.001539, allocations: 110.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.2162/0.2162, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.739e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.0904, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.318/0.4085, allocations: 75.73 MB / 481.4 MB, free: 18.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.4087, allocations: 67.34 kB / 481.5 MB, free: 18.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0103/0.419, allocations: 3.927 MB / 485.4 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4191, allocations: 0 / 485.4 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4191, allocations: 1.375 kB / 485.4 MB, free: 18.12 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.0004088/0.4195, allocations: 415.5 kB / 485.8 MB, free: 17.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4196, allocations: 8.562 kB / 485.8 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.4196, allocations: 9.75 kB / 485.9 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4198, allocations: 194.8 kB / 486 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4199, allocations: 10.22 kB / 486.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4199, allocations: 1.906 kB / 486.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.42, allocations: 44.17 kB / 486.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.42, allocations: 0 / 486.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.42, allocations: 2.594 kB / 486.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4201, allocations: 0 / 486.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.533e-05/0.4201, allocations: 19.47 kB / 486.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.4205, allocations: 293.4 kB / 486.4 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4207, allocations: 45.45 kB / 486.5 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.4207, allocations: 12.48 kB / 486.5 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.4207, allocations: 3.938 kB / 486.5 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.4208, allocations: 58.62 kB / 486.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.4208, allocations: 0 / 486.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003285/0.4212, allocations: 115.1 kB / 486.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.4212, allocations: 51.41 kB / 486.7 MB, free: 16.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4213, allocations: 156.6 kB / 486.8 MB, free: 16.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4214, allocations: 29.45 kB / 486.9 MB, free: 16.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.4214, allocations: 98.16 kB / 487 MB, free: 16.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.4214, allocations: 15.12 kB / 487 MB, free: 16.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.4214, allocations: 4 kB / 487 MB, free: 16.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.4215, allocations: 326 kB / 487.3 MB, free: 16.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.4215, allocations: 21.75 kB / 487.3 MB, free: 16.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.4216, allocations: 24.52 kB / 487.3 MB, free: 16.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.4216, allocations: 56.27 kB / 487.4 MB, free: 16.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.4216, allocations: 0 / 487.4 MB, free: 16.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001361/0.4218, allocations: 128.1 kB / 487.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4218, allocations: 37.42 kB / 487.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4218, allocations: 160 / 487.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4218, allocations: 3.984 kB / 487.6 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.4219, allocations: 18.59 kB / 487.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4219, allocations: 7.938 kB / 487.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.4219, allocations: 7.562 kB / 487.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.422, allocations: 3.875 kB / 487.6 MB, free: 16.3 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.044e-05/0.422, allocations: 104.9 kB / 487.7 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.422, allocations: 7.875 kB / 487.7 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.4222, allocations: 84.42 kB / 487.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4222, allocations: 7.969 kB / 487.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4222, allocations: 0 / 487.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4222, allocations: 5.781 kB / 487.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4225, allocations: 357.4 kB / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4225, allocations: 0 / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.4225, allocations: 6.266 kB / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4225, allocations: 3.875 kB / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4225, allocations: 3.562 kB / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4225, allocations: 3.953 kB / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4225, allocations: 96 / 488.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.4227, allocations: 183.3 kB / 488.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4227, allocations: 90.11 kB / 488.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.4227, allocations: 0 / 488.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.4228, allocations: 3.906 kB / 488.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4228, allocations: 6.062 kB / 488.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4229, allocations: 3.875 kB / 488.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.755e-05/0.4229, allocations: 137.6 kB / 488.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4229, allocations: 4 kB / 488.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000232/0.4232, allocations: 31.12 kB / 488.6 MB, free: 15.5 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.0006221/0.4238, allocations: 323.6 kB / 488.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.424, allocations: 111.6 kB / 489.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.424, allocations: 7.812 kB / 489.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.424, allocations: 23.41 kB / 489.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4242, allocations: 18.7 kB / 489.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.4245, allocations: 140.3 kB / 489.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4246, allocations: 0.6969 MB / 489.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.4246, allocations: 15.73 kB / 490 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.4247, allocations: 13.39 kB / 490 MB, free: 14.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4247, allocations: 4 kB / 490 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Templates: time 0.003228/0.4279, allocations: 1.513 MB / 491.5 MB, free: 14.25 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)