Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007207/0.007207, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001386/0.001386, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.722/1.722, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.329/0.329, allocations: 39.95 MB / 309.8 MB, free: 9.363 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.2. 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.001581/0.001581, allocations: 67.89 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3002, allocations: 56.87 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002822/0.3031, allocations: 1.696 MB / 494.4 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3046, allocations: 0.8006 MB / 495.2 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3047, allocations: 1.25 kB / 495.2 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.3051, allocations: 34.69 kB / 495.2 MB, free: 17.81 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.0002832/0.3054, allocations: 62.41 kB / 495.3 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.3057, allocations: 80.34 kB / 495.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.3059, allocations: 99.45 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3061, allocations: 19.97 kB / 495.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.3062, allocations: 37.2 kB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.3063, allocations: 33.25 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.3063, allocations: 7.281 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3065, allocations: 38.47 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.3065, allocations: 23.14 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.3066, allocations: 36.41 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3069, allocations: 111.8 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3069, allocations: 0 / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3069, allocations: 1.125 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.307, allocations: 0 / 495.8 MB, free: 17.54 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.0006353/0.3076, allocations: 412.9 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3077, allocations: 14.33 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.3077, allocations: 8.625 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.3081, allocations: 207.6 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3081, allocations: 9.719 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.3081, allocations: 6.656 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3083, allocations: 57.61 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3083, allocations: 0 / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3083, allocations: 2.547 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3084, allocations: 0 / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.238e-05/0.3084, allocations: 18.05 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3089, allocations: 290.1 kB / 496.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3091, allocations: 64.83 kB / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.3091, allocations: 20.17 kB / 496.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3092, allocations: 0.5625 kB / 496.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3094, allocations: 74.75 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3094, allocations: 0 / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006652/0.31, allocations: 176.1 kB / 497.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3101, allocations: 52.59 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3103, allocations: 189.3 kB / 497.4 MB, free: 16.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3103, allocations: 27.14 kB / 497.4 MB, free: 16.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3104, allocations: 99.33 kB / 497.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3104, allocations: 26.61 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.3105, allocations: 30.27 kB / 497.5 MB, free: 16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3105, allocations: 325.4 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.3106, allocations: 21.31 kB / 497.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.3107, allocations: 39.67 kB / 497.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3108, allocations: 53.44 kB / 498 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3108, allocations: 4.188 kB / 498 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.311, allocations: 101.5 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.311, allocations: 8.844 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.311, allocations: 1.156 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3111, allocations: 2.141 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3112, allocations: 14.52 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3112, allocations: 5.234 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.3112, allocations: 7.062 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3113, allocations: 3.016 kB / 498.1 MB, free: 15.54 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.552e-05/0.3114, allocations: 137.8 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3114, allocations: 12.88 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.3114, allocations: 14.34 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3115, allocations: 5.75 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3115, allocations: 1.281 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3115, allocations: 4.641 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.3119, allocations: 389.8 kB / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3119, allocations: 32 / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.312, allocations: 13.05 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.312, allocations: 1.469 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.312, allocations: 5.969 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.312, allocations: 1.469 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.312, allocations: 2.469 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3122, allocations: 204 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.3123, allocations: 89.3 kB / 499 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3123, allocations: 6.141 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.3124, allocations: 2.734 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.3125, allocations: 9.016 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3125, allocations: 8.469 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3126, allocations: 143.9 kB / 499.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3126, allocations: 1.5 kB / 499.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3129, allocations: 21.05 kB / 499.2 MB, free: 14.65 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.00125/0.3142, allocations: 469 kB / 499.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3145, allocations: 59.61 kB / 499.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3145, allocations: 0 / 499.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.3146, allocations: 37.66 kB / 499.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.315, allocations: 37.28 kB / 499.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.3155, allocations: 219.8 kB / 500 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3157, allocations: 0.7053 MB / 0.4889 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.3157, allocations: 20.55 kB / 0.489 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.3158, allocations: 15.95 kB / 0.489 GB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3158, allocations: 0 / 0.489 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005198/0.321, allocations: 1.694 MB / 0.4906 GB, free: 13.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)