Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.005338/0.005339, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001068/0.001068, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2123/0.2123, allocations: 39.96 MB / 309.9 MB, free: 4.023 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.001832/0.001832, allocations: 67.91 kB / 435.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 56.88 MB / 492.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003967/0.1378, allocations: 1.55 MB / 494.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1394, allocations: 0.9315 MB / 495.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.1395, allocations: 11.88 kB / 495.2 MB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1398, allocations: 15.92 kB / 495.2 MB, free: 240 kB / 366.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.0002771/0.1401, allocations: 43.77 kB / 495.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1404, allocations: 67.78 kB / 495.3 MB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1406, allocations: 63.83 kB / 495.3 MB, free: 64 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1407, allocations: 7.984 kB / 495.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.1408, allocations: 23.92 kB / 495.4 MB, free: 32 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.141, allocations: 35.86 kB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.141, allocations: 4 kB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1412, allocations: 47.97 kB / 495.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1412, allocations: 11.94 kB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.1413, allocations: 19.78 kB / 495.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1416, allocations: 83.78 kB / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1416, allocations: 0 / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1416, allocations: 0 / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1416, allocations: 0 / 495.6 MB, free: 15.83 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.0005642/0.1422, allocations: 383.2 kB / 495.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.1422, allocations: 11.89 kB / 496 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.1423, allocations: 12.78 kB / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1426, allocations: 196.2 kB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1426, allocations: 4.375 kB / 496.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1426, allocations: 4.375 kB / 496.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1428, allocations: 59.53 kB / 496.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1429, allocations: 0 / 496.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1429, allocations: 11.98 kB / 496.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1429, allocations: 0 / 496.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.143, allocations: 19.97 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1434, allocations: 276.8 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1437, allocations: 42.56 kB / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.1438, allocations: 16.86 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1438, allocations: 4 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1438, allocations: 30.56 kB / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 5.43e-06/0.1439, allocations: 0 / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005977/0.1445, allocations: 137.4 kB / 496.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.1445, allocations: 85.09 kB / 496.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1447, allocations: 137.7 kB / 497 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1447, allocations: 25.7 kB / 497 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.1448, allocations: 92.12 kB / 497.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.1448, allocations: 15.81 kB / 497.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1449, allocations: 21.7 kB / 497.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.145, allocations: 314.8 kB / 497.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.1451, allocations: 19.98 kB / 497.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.1451, allocations: 37.77 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1453, allocations: 48.83 kB / 497.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1453, allocations: 0 / 497.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.1455, allocations: 73.58 kB / 497.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1455, allocations: 14.59 kB / 497.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1455, allocations: 3.938 kB / 497.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1455, allocations: 4.031 kB / 497.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.1456, allocations: 11.98 kB / 497.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1456, allocations: 0 / 497.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.1457, allocations: 7.984 kB / 497.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1457, allocations: 7.938 kB / 497.7 MB, free: 13.5 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 9.003e-05/0.1458, allocations: 129.6 kB / 497.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1458, allocations: 3.906 kB / 497.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1459, allocations: 11.97 kB / 497.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1459, allocations: 4 kB / 497.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1459, allocations: 0 / 497.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1459, allocations: 0 / 497.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1463, allocations: 350.4 kB / 498.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1463, allocations: 0 / 498.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.1464, allocations: 11.98 kB / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1464, allocations: 0 / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1464, allocations: 4.25 kB / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1464, allocations: 11.94 kB / 498.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1464, allocations: 0 / 498.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1467, allocations: 171.4 kB / 498.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.1467, allocations: 81.09 kB / 498.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1467, allocations: 0 / 498.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.68e-05/0.1468, allocations: 7.938 kB / 498.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1469, allocations: 15.92 kB / 498.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1469, allocations: 4 kB / 498.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.063e-05/0.147, allocations: 103.3 kB / 498.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.147, allocations: 0 / 498.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1472, allocations: 20 kB / 498.6 MB, free: 12.49 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.001076/0.1483, allocations: 446.8 kB / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1485, allocations: 43.97 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1486, allocations: 0 / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/0.1486, allocations: 31.91 kB / 499.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.149, allocations: 23.8 kB / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.1494, allocations: 157.4 kB / 499.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1497, allocations: 0.6924 MB / 499.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.1498, allocations: 11.97 kB / 500 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1498, allocations: 15.44 kB / 500 MB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1498, allocations: 0 / 500 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Templates: time 0.004305/0.1542, allocations: 1.35 MB / 0.4896 GB, free: 9.715 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1)