Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005922/0.005922, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001257/0.001257, allocations: 191.5 kB / 16.67 MB, free: 5.973 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.566/1.566, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.4017/0.4017, allocations: 38 MB / 307.9 MB, free: 10.2 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.00154/0.00154, allocations: 75.89 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4068, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004034/0.411, allocations: 1.876 MB / 491.4 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.4125, allocations: 0.8559 MB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.4127, allocations: 2.125 kB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.4132, allocations: 45.36 kB / 492.3 MB, free: 18.01 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.0002778/0.4134, allocations: 53.78 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.4138, allocations: 97.39 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.4141, allocations: 138.7 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.4142, allocations: 35.86 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4144, allocations: 57.22 kB / 492.7 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4145, allocations: 49.78 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.4145, allocations: 6.688 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.4146, allocations: 50.03 kB / 492.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.4147, allocations: 26.64 kB / 492.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.4148, allocations: 50.17 kB / 492.8 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.4151, allocations: 149.5 kB / 493 MB, free: 17.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4151, allocations: 1.844 kB / 493 MB, free: 17.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4151, allocations: 0 / 493 MB, free: 17.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4151, allocations: 0 / 493 MB, free: 17.65 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.0006782/0.4158, allocations: 472 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4159, allocations: 13.8 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.4159, allocations: 15.38 kB / 493.5 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.4162, allocations: 237.4 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4163, allocations: 3.75 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.4163, allocations: 13.36 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4166, allocations: 107.3 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4166, allocations: 1.125 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4166, allocations: 2.25 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4166, allocations: 5.312 kB / 493.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.4168, allocations: 54.64 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.4173, allocations: 0.5075 MB / 494.4 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.4177, allocations: 91.8 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4178, allocations: 36.27 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4178, allocations: 5.828 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.418, allocations: 81.73 kB / 494.6 MB, free: 16.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4181, allocations: 1.469 kB / 494.6 MB, free: 16.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004156/0.4185, allocations: 146 kB / 494.8 MB, free: 16.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4185, allocations: 60.98 kB / 494.8 MB, free: 16.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4187, allocations: 187.8 kB / 495 MB, free: 15.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4187, allocations: 26.83 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.4188, allocations: 111.7 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.4188, allocations: 29.95 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.4189, allocations: 29.59 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.419, allocations: 335.8 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.4191, allocations: 32.31 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.4192, allocations: 59.58 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.4194, allocations: 100.7 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4194, allocations: 0 / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002781/0.4197, allocations: 141.5 kB / 495.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4197, allocations: 6.125 kB / 495.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4197, allocations: 5.984 kB / 495.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.4198, allocations: 9.484 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4199, allocations: 30.19 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4199, allocations: 1.547 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.42, allocations: 15.38 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.42, allocations: 4.312 kB / 495.9 MB, free: 15.23 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.396e-05/0.4201, allocations: 129.8 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.4201, allocations: 14.25 kB / 496.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.4202, allocations: 21.05 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4202, allocations: 7.938 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4202, allocations: 0.5625 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4202, allocations: 1.609 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4204, allocations: 204.8 kB / 496.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4204, allocations: 1.781 kB / 496.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.4205, allocations: 11.11 kB / 496.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4205, allocations: 0.7969 kB / 496.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4205, allocations: 10.31 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4205, allocations: 4.5 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4205, allocations: 0 / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.4209, allocations: 183.2 kB / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.421, allocations: 89.19 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.421, allocations: 1.969 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.4211, allocations: 15.02 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.4211, allocations: 5.625 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4211, allocations: 3.078 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4213, allocations: 143 kB / 496.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4213, allocations: 192 / 496.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.4215, allocations: 32.75 kB / 496.8 MB, free: 14.54 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.0009537/0.4225, allocations: 413.2 kB / 497.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4227, allocations: 77.62 kB / 497.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4228, allocations: 1.344 kB / 497.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4229, allocations: 46.75 kB / 497.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4232, allocations: 37.28 kB / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.4238, allocations: 256.7 kB / 497.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.4239, allocations: 0.7219 MB / 498.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.424, allocations: 15.67 kB / 498.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.4241, allocations: 17.09 kB / 498.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4241, allocations: 0 / 498.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of Templates: time 0.005816/0.4299, allocations: 1.896 MB / 0.4885 GB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)