Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008618/0.008618, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001473/0.001473, allocations: 192.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.4364/0.4364, allocations: 38 MB / 307.9 MB, free: 10.09 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.001527/0.001527, allocations: 79.83 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3942, allocations: 56.47 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003897/0.3982, allocations: 1.878 MB / 491.4 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3998, allocations: 0.8464 MB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.4, allocations: 5.656 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.4004, allocations: 45.64 kB / 492.3 MB, free: 18.1 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.4007, allocations: 60.2 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.401, allocations: 102 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.4013, allocations: 137.8 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.4015, allocations: 33.59 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.4016, allocations: 59.59 kB / 492.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.4017, allocations: 49.11 kB / 492.7 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.4017, allocations: 6.656 kB / 492.7 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.4018, allocations: 45.33 kB / 492.8 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.4019, allocations: 23.5 kB / 492.8 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.402, allocations: 59.59 kB / 492.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.4023, allocations: 149.7 kB / 493 MB, free: 17.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4023, allocations: 0 / 493 MB, free: 17.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4023, allocations: 1.156 kB / 493 MB, free: 17.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4023, allocations: 0 / 493 MB, free: 17.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006926/0.403, allocations: 481.5 kB / 493.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4031, allocations: 13.64 kB / 493.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.4031, allocations: 15.66 kB / 493.5 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.4034, allocations: 226.2 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4034, allocations: 6.844 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.4035, allocations: 9.625 kB / 493.7 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4037, allocations: 116.7 kB / 493.8 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4038, allocations: 5.406 kB / 493.9 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4038, allocations: 0.5156 kB / 493.9 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4038, allocations: 5.906 kB / 493.9 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.404, allocations: 46.88 kB / 493.9 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.4046, allocations: 0.5123 MB / 494.4 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.405, allocations: 87.14 kB / 494.5 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4051, allocations: 41.06 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.4051, allocations: 6.234 kB / 494.6 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.4053, allocations: 81.78 kB / 494.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4053, allocations: 0 / 494.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004264/0.4057, allocations: 147 kB / 494.8 MB, free: 16.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.4058, allocations: 56.38 kB / 494.8 MB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.406, allocations: 192.6 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.406, allocations: 27.05 kB / 495 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.4061, allocations: 115.2 kB / 495.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4061, allocations: 30.39 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.4062, allocations: 29.19 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.4063, allocations: 330.7 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.4064, allocations: 28.78 kB / 495.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.4065, allocations: 66.91 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.4067, allocations: 96.69 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4067, allocations: 4 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002794/0.407, allocations: 134.4 kB / 495.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.407, allocations: 5 kB / 495.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.407, allocations: 1.906 kB / 495.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.407, allocations: 2.531 kB / 495.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4071, allocations: 29.45 kB / 495.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4072, allocations: 1.922 kB / 495.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.4072, allocations: 23.3 kB / 495.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4073, allocations: 4.312 kB / 495.9 MB, free: 15.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.4074, allocations: 124.7 kB / 496 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.4074, allocations: 14.53 kB / 496.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.4074, allocations: 19.89 kB / 496.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4075, allocations: 8.969 kB / 496.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4075, allocations: 0.5156 kB / 496.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4075, allocations: 1.672 kB / 496.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4077, allocations: 204.9 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4077, allocations: 4.516 kB / 496.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.4077, allocations: 20.53 kB / 496.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4078, allocations: 0 / 496.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4078, allocations: 9.75 kB / 496.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4078, allocations: 5.703 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4078, allocations: 0 / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.4082, allocations: 179.3 kB / 496.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.4082, allocations: 96.58 kB / 496.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4083, allocations: 3.047 kB / 496.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.4083, allocations: 9.688 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.4084, allocations: 9.656 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.4084, allocations: 4.109 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.4086, allocations: 140 kB / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4086, allocations: 0 / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.4088, allocations: 24.45 kB / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009315/0.4097, allocations: 419.2 kB / 497.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.41, allocations: 80.97 kB / 497.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.41, allocations: 0.7188 kB / 497.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4101, allocations: 39.61 kB / 497.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.4105, allocations: 39.83 kB / 497.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.411, allocations: 266.3 kB / 497.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4112, allocations: 0.7102 MB / 498.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.998e-05/0.4112, allocations: 15.25 kB / 498.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4113, allocations: 25.33 kB / 498.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4113, allocations: 0 / 498.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005274/0.4166, allocations: 1.885 MB / 0.4885 GB, free: 13.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)