Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01088/0.01088, allocations: 101 kB / 15.73 MB, free: 6.473 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.002086/0.002087, allocations: 194.1 kB / 16.67 MB, free: 6.379 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.715/1.715, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3204/0.3204, allocations: 37.99 MB / 307.9 MB, free: 10.2 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.002888/0.002888, allocations: 71.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.38, allocations: 56.46 MB / 489.5 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.0029/0.3829, allocations: 1.547 MB / 491 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3841, allocations: 0.932 MB / 491.9 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.3842, allocations: 4 kB / 491.9 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3844, allocations: 19.84 kB / 492 MB, free: 18.47 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.0002004/0.3846, allocations: 43.84 kB / 492 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3848, allocations: 64.05 kB / 492.1 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.385, allocations: 59.12 kB / 492.1 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3851, allocations: 22.08 kB / 492.1 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.3851, allocations: 20.36 kB / 492.2 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3853, allocations: 32.64 kB / 492.2 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3853, allocations: 2.625 kB / 492.2 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3854, allocations: 50.78 kB / 492.2 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.3855, allocations: 12.5 kB / 492.3 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.3855, allocations: 21.09 kB / 492.3 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3857, allocations: 89.77 kB / 492.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3858, allocations: 0.6875 kB / 492.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3858, allocations: 0 / 492.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3858, allocations: 0.9688 kB / 492.4 MB, free: 18.27 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.0004482/0.3862, allocations: 372.5 kB / 492.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3863, allocations: 18.14 kB / 492.8 MB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3863, allocations: 8.094 kB / 492.8 MB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3865, allocations: 186 kB / 492.9 MB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3865, allocations: 5.562 kB / 492.9 MB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3865, allocations: 2.594 kB / 492.9 MB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3866, allocations: 69.38 kB / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3867, allocations: 0 / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3867, allocations: 1.062 kB / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3867, allocations: 5.938 kB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.3868, allocations: 20.75 kB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.3871, allocations: 272.8 kB / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.3873, allocations: 44.23 kB / 493.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.3873, allocations: 17.47 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.3874, allocations: 5.156 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3874, allocations: 32.78 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3874, allocations: 0 / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005297/0.3879, allocations: 134.6 kB / 493.5 MB, free: 17.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.388, allocations: 78.11 kB / 493.6 MB, free: 17.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3881, allocations: 136 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3881, allocations: 25.7 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.3881, allocations: 93.62 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3882, allocations: 19 kB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.3882, allocations: 15.22 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.3883, allocations: 323.9 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.3883, allocations: 17.8 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.3884, allocations: 35.17 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3885, allocations: 50.03 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3886, allocations: 1.156 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001692/0.3887, allocations: 79.97 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3888, allocations: 6.625 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3888, allocations: 3.938 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3888, allocations: 4.031 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.3889, allocations: 13.73 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3889, allocations: 0 / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.3889, allocations: 4.75 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.3889, allocations: 2.875 kB / 494.4 MB, free: 16.38 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 5.772e-05/0.389, allocations: 117.8 kB / 494.5 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.389, allocations: 7.672 kB / 494.6 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.3891, allocations: 18.75 kB / 494.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3891, allocations: 5.062 kB / 494.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3891, allocations: 4.562 kB / 494.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3891, allocations: 1.734 kB / 494.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.3894, allocations: 337.7 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3894, allocations: 0 / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.3895, allocations: 12.81 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3895, allocations: 0.6562 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3895, allocations: 1.094 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3895, allocations: 5.188 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3895, allocations: 4.734 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.3897, allocations: 180.7 kB / 495.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.3898, allocations: 82.62 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3898, allocations: 1.781 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3899, allocations: 10.06 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3899, allocations: 2.828 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3899, allocations: 5.562 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.493e-05/0.39, allocations: 108.2 kB / 495.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.39, allocations: 1.25 kB / 495.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3903, allocations: 22.84 kB / 495.3 MB, free: 15.55 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.0009242/0.3912, allocations: 441.8 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.3914, allocations: 49.44 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3914, allocations: 0 / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.3915, allocations: 24.17 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3918, allocations: 30.23 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.3922, allocations: 158.1 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3923, allocations: 0.6915 MB / 496.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.578e-05/0.3924, allocations: 15.36 kB / 496.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.3924, allocations: 14.08 kB / 496.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3924, allocations: 1.188 kB / 496.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Templates: time 0.004153/0.3966, allocations: 1.363 MB / 498.1 MB, free: 14.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1)