Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007582/0.0007581, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007914/0.0007914, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 222.1 MB, free: 5.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2775/0.2775, allocations: 38.04 MB / 308.4 MB, free: 10.59 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005288/0.0005288, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09291, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001738/0.09469, allocations: 1.37 MB / 435.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.09575, allocations: 0.7537 MB / 436.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.09584, allocations: 3.938 kB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.09611, allocations: 75.81 kB / 436.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.0963, allocations: 63.8 kB / 436.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.09653, allocations: 67.86 kB / 436.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.09668, allocations: 95.67 kB / 436.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.09676, allocations: 16.22 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.09685, allocations: 47.77 kB / 436.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.09694, allocations: 43.83 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.09697, allocations: 4 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.09706, allocations: 39.97 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.0971, allocations: 19.92 kB / 436.6 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.09715, allocations: 41.62 kB / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.0973, allocations: 92.08 kB / 436.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09731, allocations: 0 / 436.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09732, allocations: 4 kB / 436.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.09733, allocations: 0 / 436.7 MB, free: 2.801 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000437/0.09777, allocations: 402.8 kB / 437.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.09781, allocations: 8.031 kB / 437.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.09785, allocations: 15.8 kB / 437.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.09805, allocations: 199.6 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.09807, allocations: 4 kB / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.0981, allocations: 4 kB / 437.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.09822, allocations: 53.67 kB / 437.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.09824, allocations: 0 / 437.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.09825, allocations: 4 kB / 437.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.09826, allocations: 4 kB / 437.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.09833, allocations: 19.94 kB / 437.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.09867, allocations: 296.8 kB / 437.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.09881, allocations: 58.69 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.09887, allocations: 24.84 kB / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.09889, allocations: 0 / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.09905, allocations: 71.33 kB / 437.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.09906, allocations: 0 / 437.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004621/0.09952, allocations: 177.1 kB / 438 MB, free: 1.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.09957, allocations: 55.41 kB / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.09977, allocations: 210.4 kB / 438.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.0998, allocations: 29.7 kB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.09986, allocations: 112 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.09989, allocations: 23.67 kB / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.0999, allocations: 4 kB / 438.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.1, allocations: 322.8 kB / 438.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.1001, allocations: 19.98 kB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.1001, allocations: 37.72 kB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.1002, allocations: 23.98 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1002, allocations: 0 / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.1004, allocations: 105.4 kB / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1004, allocations: 11.95 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1004, allocations: 0 / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1004, allocations: 3.938 kB / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.1005, allocations: 16.02 kB / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1005, allocations: 8 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.1006, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1006, allocations: 4 kB / 439 MB, free: 300 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.209e-05/0.1007, allocations: 134.8 kB / 439.1 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1007, allocations: 11.81 kB / 439.1 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.1008, allocations: 25.5 kB / 439.1 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1008, allocations: 0 / 439.1 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1008, allocations: 0 / 439.1 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1008, allocations: 4 kB / 439.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.1012, allocations: 395.3 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1012, allocations: 3.953 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1012, allocations: 11.98 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1012, allocations: 0 / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1013, allocations: 4 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1013, allocations: 0 / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1013, allocations: 0 / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1015, allocations: 208.3 kB / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1015, allocations: 100.9 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1016, allocations: 4.375 kB / 439.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.1016, allocations: 3.984 kB / 439.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.1017, allocations: 7.984 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1017, allocations: 12 kB / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1018, allocations: 160.2 kB / 440 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1018, allocations: 0 / 440 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1021, allocations: 24.19 kB / 440.1 MB, free: 15.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009128/0.103, allocations: 468.4 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1032, allocations: 55.92 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1032, allocations: 0 / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.1032, allocations: 27.92 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1036, allocations: 23.98 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.104, allocations: 254.3 kB / 440.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1042, allocations: 0.7082 MB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.1043, allocations: 21.19 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.1044, allocations: 15.42 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1044, allocations: 4 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003779/0.1081, allocations: 1.595 MB / 443.2 MB, free: 11.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) Environment - environmentSimulation: