Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009909/0.009909, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001665/0.001665, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.356/0.356, allocations: 38 MB / 307.9 MB, free: 10.38 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.001737/0.001737, allocations: 72.56 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3291, allocations: 56.45 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002672/0.3318, allocations: 1.676 MB / 491.2 MB, free: 18.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.333, allocations: 0.8124 MB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.3331, allocations: 0 / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.3334, allocations: 43.7 kB / 492 MB, free: 18.15 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.0002086/0.3336, allocations: 48.98 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3338, allocations: 80.92 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.334, allocations: 99.19 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.3341, allocations: 11.95 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.783e-05/0.3342, allocations: 41.8 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.3343, allocations: 29.89 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3343, allocations: 7.594 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3345, allocations: 42.05 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.3345, allocations: 22.47 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.3346, allocations: 38.06 kB / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.3348, allocations: 118.1 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3348, allocations: 1.188 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3348, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3348, allocations: 1.125 kB / 492.6 MB, free: 17.89 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.0004593/0.3353, allocations: 408.5 kB / 493 MB, free: 17.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3354, allocations: 17.02 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.3354, allocations: 10.22 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3357, allocations: 202.4 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3357, allocations: 1.969 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3357, allocations: 14.28 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3359, allocations: 55.44 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3359, allocations: 0 / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3359, allocations: 5.062 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3359, allocations: 0 / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.336, allocations: 23 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.3363, allocations: 290.7 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3365, allocations: 56.56 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.3365, allocations: 23.52 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3366, allocations: 1.125 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.3367, allocations: 65.34 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3367, allocations: 4.906 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005069/0.3372, allocations: 171.9 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3373, allocations: 52.81 kB / 493.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3374, allocations: 187.9 kB / 494.1 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3375, allocations: 26.86 kB / 494.2 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.3375, allocations: 100.8 kB / 494.2 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3375, allocations: 26.12 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3376, allocations: 25.86 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.3376, allocations: 326.4 kB / 494.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.3377, allocations: 18.66 kB / 494.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.3378, allocations: 37.11 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3379, allocations: 62.78 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3379, allocations: 0 / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.338, allocations: 105.5 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3381, allocations: 5.594 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3381, allocations: 0 / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3381, allocations: 1.734 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.3382, allocations: 16.05 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3382, allocations: 2.094 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3383, allocations: 10.52 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3383, allocations: 6.438 kB / 494.9 MB, free: 15.89 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 7.27e-05/0.3383, allocations: 133.9 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3384, allocations: 13.06 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.3384, allocations: 15.11 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3384, allocations: 1.469 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3384, allocations: 4.688 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3384, allocations: 3.938 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.3388, allocations: 393.9 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3388, allocations: 1.156 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.3389, allocations: 9.125 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3389, allocations: 1.125 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3389, allocations: 5.703 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3389, allocations: 1.031 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3389, allocations: 2.125 kB / 495.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.3391, allocations: 207.9 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.3392, allocations: 89.72 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.3392, allocations: 5.375 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.3393, allocations: 3.094 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3393, allocations: 10.08 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3393, allocations: 4.703 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3394, allocations: 143.6 kB / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3394, allocations: 0 / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3397, allocations: 25.44 kB / 495.9 MB, free: 15 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.0009326/0.3407, allocations: 464.9 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.3408, allocations: 59.72 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3409, allocations: 4.062 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.3409, allocations: 29.36 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3413, allocations: 30.25 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.3418, allocations: 230 kB / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.342, allocations: 0.709 MB / 497.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.3421, allocations: 21.66 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3421, allocations: 16.06 kB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3421, allocations: 0 / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.005606/0.3477, allocations: 1.724 MB / 499.2 MB, free: 13.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)