Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008297/0.008297, allocations: 105.9 kB / 15.73 MB, free: 6 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.001478/0.001478, allocations: 189 kB / 16.67 MB, free: 5.926 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.664/1.664, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.3563/0.3563, allocations: 38 MB / 307.9 MB, free: 10.11 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.001757/0.001757, allocations: 63.91 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2997, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002853/0.3026, allocations: 1.662 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.3047, allocations: 1.424 MB / 492.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.3048, allocations: 0.6875 kB / 492.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.3052, allocations: 36.58 kB / 492.6 MB, free: 17.69 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.0002667/0.3054, allocations: 54.31 kB / 492.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3057, allocations: 84.67 kB / 492.8 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.3059, allocations: 95.77 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3061, allocations: 23.42 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3062, allocations: 43.06 kB / 492.9 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.3064, allocations: 39.91 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.3064, allocations: 4.5 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.3066, allocations: 57.27 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.3067, allocations: 19.47 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.3068, allocations: 33.8 kB / 493.1 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3071, allocations: 121.6 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3071, allocations: 0 / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3071, allocations: 1.031 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.3071, allocations: 4 kB / 493.2 MB, free: 17.41 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.0007788/0.3079, allocations: 403.1 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.308, allocations: 13.11 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.3081, allocations: 10.22 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.3085, allocations: 208.7 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3085, allocations: 3.922 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3085, allocations: 5.344 kB / 493.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3087, allocations: 71.09 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3087, allocations: 1.375 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3087, allocations: 0 / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3088, allocations: 1.312 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.3088, allocations: 17.98 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3092, allocations: 292.4 kB / 494.2 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3094, allocations: 60.06 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.3095, allocations: 20.41 kB / 494.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3095, allocations: 1.25 kB / 494.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3097, allocations: 69.75 kB / 494.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3097, allocations: 0 / 494.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.3103, allocations: 171.4 kB / 494.5 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3103, allocations: 82.92 kB / 494.6 MB, free: 16.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3105, allocations: 166.5 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3105, allocations: 30.7 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.3105, allocations: 93.56 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3106, allocations: 21.83 kB / 494.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3106, allocations: 27.33 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.3107, allocations: 324.3 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.3108, allocations: 21.81 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.3108, allocations: 40.77 kB / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3109, allocations: 62.8 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3109, allocations: 0 / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.3111, allocations: 105.1 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3112, allocations: 5.312 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3112, allocations: 5.312 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3112, allocations: 0 / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.3113, allocations: 19.41 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3113, allocations: 2.25 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.3114, allocations: 7.422 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3114, allocations: 2.781 kB / 495.5 MB, free: 15.36 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 8.459e-05/0.3115, allocations: 121.8 kB / 495.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.3115, allocations: 8.531 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.3115, allocations: 17.45 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3115, allocations: 1.062 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3116, allocations: 0.6094 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3116, allocations: 4.453 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.312, allocations: 385 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.312, allocations: 0 / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.3121, allocations: 13.22 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3121, allocations: 1.375 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3121, allocations: 10.8 kB / 496.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3121, allocations: 10.02 kB / 496.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3121, allocations: 0 / 496.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3124, allocations: 196.4 kB / 496.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.3124, allocations: 92.66 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3124, allocations: 6.156 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.3125, allocations: 3.359 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.3125, allocations: 10 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3126, allocations: 11.36 kB / 496.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.3127, allocations: 115.7 kB / 496.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3127, allocations: 1.375 kB / 496.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000305/0.313, allocations: 34.47 kB / 496.5 MB, free: 14.48 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.001143/0.3141, allocations: 498.7 kB / 497 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3144, allocations: 65.03 kB / 497.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3144, allocations: 7.875 kB / 497.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.3145, allocations: 32.88 kB / 497.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3148, allocations: 34.39 kB / 497.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.3152, allocations: 190 kB / 497.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.3153, allocations: 0.6944 MB / 498 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.3154, allocations: 18.86 kB / 498.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3155, allocations: 18.27 kB / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3155, allocations: 0 / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Templates: time 0.005216/0.3207, allocations: 1.949 MB / 0.4883 GB, free: 12.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)