Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009468, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001168/0.001168, allocations: 177.3 kB / 15.94 MB, free: 228 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.314/1.314, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2807/0.2807, allocations: 39.99 MB / 310.4 MB, free: 9.699 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.2. 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.0005838/0.0005839, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09703, allocations: 57.96 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001646/0.09872, allocations: 1.374 MB / 438.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.09971, allocations: 0.7382 MB / 438.9 MB, free: 192 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.09978, allocations: 0 / 438.9 MB, free: 192 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.09999, allocations: 35.83 kB / 438.9 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.1001, allocations: 47.88 kB / 439 MB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1004, allocations: 79.77 kB / 439 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1005, allocations: 63.86 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.963e-05/0.1006, allocations: 12.2 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.1007, allocations: 39.84 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.1007, allocations: 27.84 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1008, allocations: 4 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.1008, allocations: 31.94 kB / 439.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.1009, allocations: 19.91 kB / 439.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.1009, allocations: 41.64 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.101, allocations: 88.08 kB / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.101, allocations: 0 / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1011, allocations: 0 / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1011, allocations: 0 / 439.4 MB, free: 15.7 MB / 382.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.0004372/0.1015, allocations: 414.7 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1015, allocations: 12.03 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1016, allocations: 15.81 kB / 439.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1018, allocations: 210.8 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1018, allocations: 4 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1019, allocations: 0 / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.102, allocations: 53.67 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.102, allocations: 0 / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.102, allocations: 0 / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.102, allocations: 11.89 kB / 440.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.1021, allocations: 19.92 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1025, allocations: 300.8 kB / 440.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1027, allocations: 50.69 kB / 440.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1027, allocations: 4.125 kB / 440.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1029, allocations: 75.27 kB / 440.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1029, allocations: 4 kB / 440.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004738/0.1033, allocations: 173.2 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1034, allocations: 51.41 kB / 440.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1036, allocations: 218.7 kB / 440.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1036, allocations: 25.7 kB / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1037, allocations: 116 kB / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1037, allocations: 23.64 kB / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1037, allocations: 4 kB / 441.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.1038, allocations: 326.8 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/0.1039, allocations: 23.98 kB / 441.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.1039, allocations: 33.7 kB / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/0.104, allocations: 20 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.104, allocations: 0 / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.1042, allocations: 97.53 kB / 441.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1042, allocations: 15.98 kB / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1042, allocations: 384 / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1042, allocations: 0 / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1043, allocations: 19.92 kB / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1043, allocations: 4 kB / 441.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1044, allocations: 4 kB / 441.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1044, allocations: 4 kB / 441.7 MB, free: 13.18 MB / 382.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 8.679e-05/0.1045, allocations: 133.8 kB / 441.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1045, allocations: 15.81 kB / 441.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.1046, allocations: 25.34 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1046, allocations: 0 / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1046, allocations: 4 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1046, allocations: 0 / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.105, allocations: 399.4 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.105, allocations: 0 / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.1051, allocations: 15.98 kB / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1051, allocations: 224 / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1051, allocations: 8 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1051, allocations: 3.938 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1051, allocations: 0 / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1053, allocations: 221.8 kB / 442.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1054, allocations: 92.98 kB / 442.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1054, allocations: 4 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1055, allocations: 8 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1055, allocations: 7.984 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1055, allocations: 4 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1057, allocations: 172.3 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1057, allocations: 0 / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1059, allocations: 24 kB / 442.8 MB, free: 11.95 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.000937/0.1069, allocations: 456.5 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1071, allocations: 59.91 kB / 443.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1071, allocations: 0 / 443.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.1071, allocations: 31.94 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1074, allocations: 36.17 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.1078, allocations: 274.3 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1081, allocations: 0.7121 MB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.1081, allocations: 21.17 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.1082, allocations: 15.44 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1082, allocations: 0 / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Templates: time 0.003827/0.112, allocations: 1.592 MB / 445.9 MB, free: 8.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) Environment - environmentSimulation: