Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006065/0.006065, allocations: 101.1 kB / 15.73 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.001331/0.001331, allocations: 190.4 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.54/1.54, 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.2+maint.om/package.mo): time 0.3105/0.3105, allocations: 39.94 MB / 309.8 MB, free: 9.625 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.001444/0.001444, allocations: 72.31 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2995, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003681/0.3033, allocations: 1.544 MB / 494.2 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.304, allocations: 320.4 kB / 494.5 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.3041, allocations: 0.9688 kB / 494.5 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.3045, allocations: 76.5 kB / 494.6 MB, free: 18.22 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.0002753/0.3048, allocations: 65.66 kB / 494.7 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3051, allocations: 66.69 kB / 494.7 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3053, allocations: 66.77 kB / 494.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3054, allocations: 27.89 kB / 494.8 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.3054, allocations: 32.45 kB / 494.8 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3056, allocations: 49.42 kB / 494.9 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3056, allocations: 1.875 kB / 494.9 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.3057, allocations: 30.44 kB / 494.9 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.3058, allocations: 22.44 kB / 495 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.3058, allocations: 29.25 kB / 495 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.306, allocations: 84.23 kB / 495.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.306, allocations: 1.906 kB / 495.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.306, allocations: 0 / 495.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.306, allocations: 8.453 kB / 495.1 MB, free: 18.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003931/0.3064, allocations: 395.2 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3065, allocations: 12.98 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3065, allocations: 12.31 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3067, allocations: 194.1 kB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3067, allocations: 4.375 kB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3067, allocations: 7.75 kB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3069, allocations: 48.45 kB / 495.7 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3069, allocations: 5.312 kB / 495.7 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3069, allocations: 0 / 495.7 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3069, allocations: 0 / 495.7 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.307, allocations: 27.16 kB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.3073, allocations: 277.8 kB / 496 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3076, allocations: 40.95 kB / 496.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.3076, allocations: 20.98 kB / 496.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3077, allocations: 5.344 kB / 496.1 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3077, allocations: 32.48 kB / 496.1 MB, free: 16.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3077, allocations: 0 / 496.1 MB, free: 16.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000564/0.3083, allocations: 141.5 kB / 496.3 MB, free: 16.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3083, allocations: 57.09 kB / 496.3 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.3085, allocations: 210.7 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3086, allocations: 27.42 kB / 496.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.3086, allocations: 103 kB / 496.7 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3086, allocations: 20.44 kB / 496.7 MB, free: 16.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3087, allocations: 13.66 kB / 496.7 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.3088, allocations: 326.1 kB / 497 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.3088, allocations: 21.8 kB / 497 MB, free: 16.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.3089, allocations: 19.34 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.309, allocations: 48.38 kB / 497.1 MB, free: 16.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3091, allocations: 0 / 497.1 MB, free: 16.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.3092, allocations: 85.11 kB / 497.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3093, allocations: 4.609 kB / 497.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3093, allocations: 1.125 kB / 497.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3093, allocations: 4.562 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.3094, allocations: 12.25 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3094, allocations: 1.125 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.3094, allocations: 9.031 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3094, allocations: 1.031 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.534e-05/0.3095, allocations: 127.4 kB / 497.3 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3095, allocations: 7.625 kB / 497.3 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.3096, allocations: 14.66 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3096, allocations: 6.312 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3096, allocations: 0 / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3096, allocations: 0.6094 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.31, allocations: 355.5 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.31, allocations: 1.438 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.31, allocations: 12.06 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3101, allocations: 0 / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3101, allocations: 6.281 kB / 497.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3101, allocations: 7.938 kB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3101, allocations: 1.188 kB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3103, allocations: 181.3 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3103, allocations: 87.95 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3103, allocations: 1.031 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.3104, allocations: 8.875 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3104, allocations: 13.17 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3105, allocations: 1.344 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3106, allocations: 160.5 kB / 498.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3106, allocations: 0 / 498.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3108, allocations: 19.11 kB / 498.2 MB, free: 15.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009932/0.3118, allocations: 398.6 kB / 498.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.312, allocations: 47.56 kB / 498.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.312, allocations: 1.812 kB / 498.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.3121, allocations: 32.41 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3124, allocations: 21.56 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3128, allocations: 214.9 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3129, allocations: 0.6991 MB / 499.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.395e-05/0.313, allocations: 17.45 kB / 499.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.313, allocations: 12.38 kB / 499.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.313, allocations: 0 / 499.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.003796/0.3168, allocations: 1.117 MB / 0.489 GB, free: 13.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1)