Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01132/0.01132, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.002199/0.002199, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3704/0.3704, allocations: 38 MB / 307.9 MB, free: 10.16 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.002082/0.002082, allocations: 71.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4237, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003873/0.4277, allocations: 1.669 MB / 491.2 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.4296, allocations: 0.8056 MB / 492 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4297, allocations: 1.188 kB / 492 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.4303, allocations: 87.89 kB / 492.1 MB, free: 18.12 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.0003919/0.4307, allocations: 80.88 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.431, allocations: 83.77 kB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.4313, allocations: 112.3 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4314, allocations: 14.64 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.4316, allocations: 56.48 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.4317, allocations: 55.64 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.4318, allocations: 3.281 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.4319, allocations: 50.36 kB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.432, allocations: 21.44 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.4321, allocations: 41.52 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.4324, allocations: 119.6 kB / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4324, allocations: 1.859 kB / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4324, allocations: 0 / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4324, allocations: 0 / 492.7 MB, free: 17.84 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.0006942/0.4331, allocations: 421 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.4332, allocations: 13.83 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.4332, allocations: 18.95 kB / 493.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.4336, allocations: 208.3 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4336, allocations: 6.062 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.4337, allocations: 10.22 kB / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.4339, allocations: 59.11 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4339, allocations: 0 / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4339, allocations: 0 / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4339, allocations: 2.266 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.434, allocations: 17.55 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4344, allocations: 294.1 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.4346, allocations: 59.59 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.4347, allocations: 19.58 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4348, allocations: 1.75 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.4349, allocations: 74.23 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4349, allocations: 0 / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006406/0.4356, allocations: 178.2 kB / 494.1 MB, free: 16.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4356, allocations: 57.66 kB / 494.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.4359, allocations: 214.5 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4359, allocations: 30.22 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.436, allocations: 114.2 kB / 494.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.4361, allocations: 25.98 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4361, allocations: 21.7 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4362, allocations: 330.6 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.4363, allocations: 22.78 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.4364, allocations: 34.19 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4365, allocations: 62.09 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4366, allocations: 1.031 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.4368, allocations: 109.4 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4368, allocations: 6.484 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4368, allocations: 0 / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4368, allocations: 1.188 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4369, allocations: 16.53 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.437, allocations: 4.141 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.437, allocations: 8.031 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.437, allocations: 1.469 kB / 495.1 MB, free: 15.8 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.736e-05/0.4371, allocations: 138.1 kB / 495.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4372, allocations: 14.72 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.4372, allocations: 16.92 kB / 495.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4372, allocations: 1.5 kB / 495.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4372, allocations: 0 / 495.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4373, allocations: 9.422 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.4377, allocations: 392.2 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.4377, allocations: 6.031 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.4378, allocations: 9.016 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4378, allocations: 0 / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4378, allocations: 10.69 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4378, allocations: 1.031 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4378, allocations: 2.094 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.4381, allocations: 209 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.4381, allocations: 85.16 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4382, allocations: 15.2 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.4382, allocations: 2 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.4383, allocations: 5.703 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4383, allocations: 4.125 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.4385, allocations: 171.8 kB / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4385, allocations: 192 / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.4388, allocations: 22.31 kB / 496.2 MB, free: 14.9 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 (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.001112/0.4399, allocations: 476.6 kB / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.4401, allocations: 56.7 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4401, allocations: 64 / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.4402, allocations: 38.11 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.4406, allocations: 26.72 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.4412, allocations: 255.2 kB / 497 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.4415, allocations: 0.7135 MB / 497.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.247e-05/0.4416, allocations: 21.55 kB / 497.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.4417, allocations: 16.8 kB / 497.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4417, allocations: 0 / 497.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.006461/0.4481, allocations: 1.735 MB / 499.5 MB, free: 13.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)