Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 170 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.498/1.498, 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.001637/0.001636, allocations: 107.5 kB / 223.2 MB, free: 4.043 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.1855/0.1855, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.703e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09133, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.4974, allocations: 75.74 MB / 481.4 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/0.4979, allocations: 67.25 kB / 481.5 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.5137, allocations: 3.956 MB / 485.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5138, allocations: 0 / 485.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5138, allocations: 0 / 485.5 MB, free: 18.08 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.0004686/0.5143, allocations: 418.5 kB / 485.9 MB, free: 17.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5144, allocations: 7.75 kB / 485.9 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.5144, allocations: 7.781 kB / 485.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.5147, allocations: 211.7 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5147, allocations: 9.625 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.5148, allocations: 3.875 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5149, allocations: 41.03 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5149, allocations: 1.781 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5149, allocations: 0 / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.515, allocations: 0 / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.515, allocations: 17.42 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.5155, allocations: 293.5 kB / 486.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.5157, allocations: 46.31 kB / 486.5 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.5158, allocations: 10.75 kB / 486.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.5158, allocations: 7.688 kB / 486.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.5159, allocations: 57.02 kB / 486.6 MB, free: 17.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/0.5159, allocations: 0 / 486.6 MB, free: 17.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004765/0.5164, allocations: 121.5 kB / 486.7 MB, free: 17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.5165, allocations: 51.41 kB / 486.7 MB, free: 16.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.5167, allocations: 169.7 kB / 486.9 MB, free: 16.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.5167, allocations: 29.58 kB / 486.9 MB, free: 16.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.5168, allocations: 103.6 kB / 487 MB, free: 16.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.5168, allocations: 7.781 kB / 487 MB, free: 16.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.5168, allocations: 3.75 kB / 487.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.5169, allocations: 322.2 kB / 487.4 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.517, allocations: 29.14 kB / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.517, allocations: 23.09 kB / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.529e-05/0.5171, allocations: 48.98 kB / 487.5 MB, free: 16.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5171, allocations: 3.875 kB / 487.5 MB, free: 16.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002327/0.5174, allocations: 142.7 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.5174, allocations: 31.61 kB / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5175, allocations: 0 / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5175, allocations: 0 / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.5175, allocations: 9.734 kB / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5176, allocations: 3.875 kB / 487.7 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.5176, allocations: 7.938 kB / 487.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.5177, allocations: 7.828 kB / 487.7 MB, free: 16.25 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 7.534e-05/0.5177, allocations: 110.9 kB / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.5178, allocations: 7.781 kB / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.518, allocations: 96 kB / 487.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.518, allocations: 5.766 kB / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5181, allocations: 0 / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5181, allocations: 0 / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.5185, allocations: 359.3 kB / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5185, allocations: 0 / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.5186, allocations: 9.859 kB / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5186, allocations: 0 / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.5186, allocations: 3.984 kB / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5186, allocations: 3.938 kB / 488.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5186, allocations: 0 / 488.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.5188, allocations: 183 kB / 488.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.5189, allocations: 88.8 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.5189, allocations: 3.875 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.519, allocations: 5.688 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.5191, allocations: 6.094 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.5191, allocations: 4 kB / 488.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5193, allocations: 146.2 kB / 488.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5193, allocations: 0 / 488.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.5197, allocations: 40.72 kB / 488.7 MB, free: 15.45 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.000988/0.5207, allocations: 323 kB / 489 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.521, allocations: 111.9 kB / 489.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.521, allocations: 0 / 489.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.5211, allocations: 26.28 kB / 489.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.5214, allocations: 15.16 kB / 489.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.5218, allocations: 142.8 kB / 489.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.522, allocations: 0.7015 MB / 490 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.522, allocations: 17.62 kB / 490 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.5221, allocations: 14.72 kB / 490.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5221, allocations: 0 / 490.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Templates: time 0.004773/0.5269, allocations: 1.544 MB / 491.6 MB, free: 14.19 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)