Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001623/0.001623, allocations: 169.1 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.416/1.416, 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.00174/0.00174, allocations: 103.5 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.1849/0.1849, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.866e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4374, allocations: 75.76 MB / 481.5 MB, free: 18.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.4376, allocations: 68.44 kB / 481.5 MB, free: 18.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.4481, allocations: 4.313 MB / 485.8 MB, free: 18.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4481, allocations: 3.812 kB / 485.9 MB, free: 18.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.4481, allocations: 0 / 485.9 MB, free: 18.06 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.0003842/0.4485, allocations: 435.9 kB / 486.3 MB, free: 17.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4486, allocations: 7.781 kB / 486.3 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.4486, allocations: 11.72 kB / 486.3 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.4489, allocations: 218.7 kB / 486.5 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4489, allocations: 3.875 kB / 486.5 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.4489, allocations: 0 / 486.5 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.449, allocations: 44.73 kB / 486.6 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.449, allocations: 1.734 kB / 486.6 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4491, allocations: 0 / 486.6 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4491, allocations: 0 / 486.6 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.4491, allocations: 17.3 kB / 486.6 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.4495, allocations: 310 kB / 486.9 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4497, allocations: 45.06 kB / 486.9 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.4497, allocations: 14.58 kB / 486.9 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.4497, allocations: 0 / 486.9 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.4498, allocations: 63.3 kB / 487 MB, free: 17.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4498, allocations: 0 / 487 MB, free: 17.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003421/0.4502, allocations: 122.7 kB / 487.1 MB, free: 16.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4502, allocations: 51.41 kB / 487.2 MB, free: 16.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.4504, allocations: 228.7 kB / 487.4 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.4504, allocations: 25.7 kB / 487.4 MB, free: 16.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.4505, allocations: 109.3 kB / 487.5 MB, free: 16.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.4505, allocations: 13.22 kB / 487.5 MB, free: 16.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.4505, allocations: 7.875 kB / 487.5 MB, free: 16.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.4506, allocations: 326.6 kB / 487.9 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.4507, allocations: 22.66 kB / 487.9 MB, free: 16.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.4507, allocations: 24.64 kB / 487.9 MB, free: 16.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.4508, allocations: 48.38 kB / 488 MB, free: 16.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4508, allocations: 0 / 488 MB, free: 16.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001477/0.4509, allocations: 138.9 kB / 488.1 MB, free: 16.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.451, allocations: 37.36 kB / 488.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.451, allocations: 4.031 kB / 488.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.451, allocations: 1.734 kB / 488.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.451, allocations: 11.75 kB / 488.1 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.4511, allocations: 5.859 kB / 488.2 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.4511, allocations: 3.969 kB / 488.2 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4511, allocations: 3.953 kB / 488.2 MB, free: 16.21 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 5.079e-05/0.4512, allocations: 108.6 kB / 488.3 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.4512, allocations: 17.62 kB / 488.3 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.4514, allocations: 96 kB / 488.4 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4514, allocations: 4 kB / 488.4 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4514, allocations: 3.844 kB / 488.4 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4514, allocations: 1.875 kB / 488.4 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.4517, allocations: 376.2 kB / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4517, allocations: 96 / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.4518, allocations: 11.8 kB / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4518, allocations: 1.312 kB / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4518, allocations: 5.406 kB / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4518, allocations: 0 / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4518, allocations: 1.438 kB / 488.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.452, allocations: 183.4 kB / 489 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.452, allocations: 100.1 kB / 489 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4521, allocations: 0 / 489 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.4521, allocations: 5.578 kB / 489.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4522, allocations: 5.859 kB / 489.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4522, allocations: 3.375 kB / 489.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.4523, allocations: 188.5 kB / 489.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4523, allocations: 4 kB / 489.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.4526, allocations: 37.05 kB / 489.3 MB, free: 15.41 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.0006584/0.4532, allocations: 337 kB / 489.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4534, allocations: 110.1 kB / 489.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4534, allocations: 3.938 kB / 489.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.4534, allocations: 25.19 kB / 489.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4537, allocations: 18.2 kB / 489.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.454, allocations: 188.3 kB / 490 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4541, allocations: 0.7164 MB / 490.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.4542, allocations: 13.62 kB / 490.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.4542, allocations: 18.44 kB / 490.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4542, allocations: 4 kB / 490.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of Templates: time 0.003601/0.4578, allocations: 1.648 MB / 492.4 MB, free: 14.14 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)