Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008076/0.008077, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001872/0.001872, allocations: 185.2 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3806/0.3806, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.002273/0.002273, allocations: 75.91 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.413, allocations: 56.45 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00304/0.4161, allocations: 1.542 MB / 491 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4175, allocations: 0.9407 MB / 491.9 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.4175, allocations: 1.125 kB / 491.9 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.4178, allocations: 25.08 kB / 492 MB, free: 18.1 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.0002218/0.418, allocations: 39.66 kB / 492 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4183, allocations: 62.97 kB / 492.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.4185, allocations: 62.64 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4186, allocations: 19.64 kB / 492.1 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.4187, allocations: 19.72 kB / 492.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.4189, allocations: 33.39 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4189, allocations: 6.781 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.419, allocations: 45.84 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.4191, allocations: 8.531 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.4191, allocations: 24.89 kB / 492.3 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.4193, allocations: 85.83 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4194, allocations: 1.469 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4194, allocations: 0 / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4194, allocations: 0.625 kB / 492.4 MB, free: 17.91 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.0005001/0.4199, allocations: 377 kB / 492.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4199, allocations: 16.67 kB / 492.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.42, allocations: 8.156 kB / 492.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.4202, allocations: 186.3 kB / 492.9 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.4202, allocations: 1.344 kB / 492.9 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.4202, allocations: 6.078 kB / 493 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4204, allocations: 65.59 kB / 493 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4204, allocations: 1.062 kB / 493 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4204, allocations: 0 / 493 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4204, allocations: 5.156 kB / 493 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.4205, allocations: 30.14 kB / 493.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.4209, allocations: 272.1 kB / 493.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4211, allocations: 41.48 kB / 493.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.4211, allocations: 17.11 kB / 493.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4212, allocations: 5.469 kB / 493.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.4212, allocations: 35.3 kB / 493.4 MB, free: 16.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4212, allocations: 0 / 493.4 MB, free: 16.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005525/0.4218, allocations: 130.8 kB / 493.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4218, allocations: 83.89 kB / 493.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.422, allocations: 134.2 kB / 493.8 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.422, allocations: 27.84 kB / 493.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.422, allocations: 92.77 kB / 493.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.4221, allocations: 14.38 kB / 493.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.4221, allocations: 20.27 kB / 493.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.4222, allocations: 321.9 kB / 494.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.4223, allocations: 19.17 kB / 494.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.4223, allocations: 33.84 kB / 494.3 MB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4225, allocations: 47.33 kB / 494.3 MB, free: 16.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4225, allocations: 1 kB / 494.3 MB, free: 16.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.4227, allocations: 84.53 kB / 494.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4227, allocations: 4.875 kB / 494.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4227, allocations: 1.312 kB / 494.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4227, allocations: 1.219 kB / 494.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.4228, allocations: 15.34 kB / 494.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4228, allocations: 1.156 kB / 494.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.4228, allocations: 5.641 kB / 494.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4228, allocations: 1.25 kB / 494.4 MB, free: 16.01 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.709e-05/0.4229, allocations: 118.5 kB / 494.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.423, allocations: 7.891 kB / 494.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.423, allocations: 15.28 kB / 494.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.423, allocations: 3.938 kB / 494.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.423, allocations: 5.188 kB / 494.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.423, allocations: 1.031 kB / 494.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.4234, allocations: 342.1 kB / 494.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4234, allocations: 1.281 kB / 494.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.4235, allocations: 11.66 kB / 494.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4235, allocations: 0 / 494.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4235, allocations: 2.234 kB / 494.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4235, allocations: 3.938 kB / 494.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4235, allocations: 5.125 kB / 494.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.4237, allocations: 181.6 kB / 495.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.4238, allocations: 78.2 kB / 495.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4238, allocations: 9.984 kB / 495.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.4239, allocations: 8.344 kB / 495.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4239, allocations: 4.312 kB / 495.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4239, allocations: 5.125 kB / 495.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.255e-05/0.424, allocations: 110.2 kB / 495.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.424, allocations: 0 / 495.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.4243, allocations: 22.72 kB / 495.3 MB, free: 15.18 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.001003/0.4253, allocations: 438.4 kB / 495.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.4256, allocations: 47.66 kB / 495.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4256, allocations: 1.031 kB / 495.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4257, allocations: 29.12 kB / 495.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.4261, allocations: 20.92 kB / 495.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.4266, allocations: 155.2 kB / 496 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.4268, allocations: 0.6908 MB / 496.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.109e-05/0.4268, allocations: 15.28 kB / 496.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.4269, allocations: 14.89 kB / 496.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4269, allocations: 0 / 496.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.004843/0.4317, allocations: 1.359 MB / 498.1 MB, free: 13.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1)