Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005376/0.005376, allocations: 102 kB / 15.73 MB, free: 6.055 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.001236/0.001236, allocations: 191.5 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.453/1.453, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.204/0.204, allocations: 39.96 MB / 309.9 MB, free: 4.012 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.001455/0.001455, allocations: 77.41 kB / 435.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1455, allocations: 56.88 MB / 492.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003185/0.1487, allocations: 1.546 MB / 494.2 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.1494, allocations: 309 kB / 494.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1495, allocations: 4 kB / 494.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.1498, allocations: 75.7 kB / 494.6 MB, free: 0.8008 MB / 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.0002529/0.1501, allocations: 63.75 kB / 494.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1504, allocations: 67.77 kB / 494.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1505, allocations: 59.89 kB / 494.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1507, allocations: 12 kB / 494.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.1507, allocations: 35.89 kB / 494.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1509, allocations: 39.84 kB / 494.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1509, allocations: 4 kB / 494.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.151, allocations: 39.91 kB / 494.9 MB, free: 496 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.1511, allocations: 11.94 kB / 494.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.1511, allocations: 31.8 kB / 495 MB, free: 452 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1513, allocations: 79.73 kB / 495 MB, free: 372 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1513, allocations: 0 / 495 MB, free: 372 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1513, allocations: 4 kB / 495 MB, free: 368 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1513, allocations: 0 / 495 MB, free: 368 kB / 366.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.0005743/0.1519, allocations: 391.1 kB / 495.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.152, allocations: 11.89 kB / 495.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.152, allocations: 16.75 kB / 495.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1522, allocations: 203.8 kB / 495.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1523, allocations: 384 / 495.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1523, allocations: 4.375 kB / 495.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1524, allocations: 49.81 kB / 495.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1525, allocations: 7.906 kB / 495.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1525, allocations: 3.984 kB / 495.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1525, allocations: 4 kB / 495.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.1526, allocations: 23.97 kB / 495.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.153, allocations: 276.8 kB / 496 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.1532, allocations: 46.56 kB / 496.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1533, allocations: 12.95 kB / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.1533, allocations: 3.984 kB / 496.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1534, allocations: 30.56 kB / 496.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1534, allocations: 0 / 496.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006223/0.154, allocations: 149.2 kB / 496.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1541, allocations: 55.41 kB / 496.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1543, allocations: 186.2 kB / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1543, allocations: 33.7 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.1544, allocations: 96.05 kB / 496.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.1544, allocations: 23.72 kB / 496.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1544, allocations: 17.72 kB / 496.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1546, allocations: 326.8 kB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.1546, allocations: 23.98 kB / 497 MB, free: 14.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.1547, allocations: 15.92 kB / 497 MB, free: 14.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1548, allocations: 48.78 kB / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1548, allocations: 0 / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.155, allocations: 81.56 kB / 497.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.155, allocations: 4 kB / 497.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.155, allocations: 0 / 497.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1551, allocations: 8 kB / 497.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.1551, allocations: 8 kB / 497.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1551, allocations: 3.984 kB / 497.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.1552, allocations: 4 kB / 497.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1552, allocations: 3.938 kB / 497.2 MB, free: 14 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 0.0001017/0.1553, allocations: 137.6 kB / 497.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1553, allocations: 11.84 kB / 497.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1554, allocations: 16.31 kB / 497.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1554, allocations: 4 kB / 497.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1554, allocations: 0 / 497.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1554, allocations: 0 / 497.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.1559, allocations: 346.5 kB / 497.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1559, allocations: 320 / 497.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.156, allocations: 19.94 kB / 497.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.156, allocations: 3.984 kB / 497.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.156, allocations: 0 / 497.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.156, allocations: 11.94 kB / 497.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.156, allocations: 0 / 497.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1562, allocations: 175.3 kB / 497.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.1563, allocations: 81.02 kB / 498 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1563, allocations: 4 kB / 498 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.1564, allocations: 7.922 kB / 498 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1564, allocations: 8 kB / 498 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1565, allocations: 0 / 498 MB, free: 13.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1566, allocations: 152 kB / 498.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 0 / 498.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1568, allocations: 8 kB / 498.1 MB, free: 12.93 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.0009576/0.1578, allocations: 413.5 kB / 498.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.158, allocations: 47.97 kB / 498.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.158, allocations: 0 / 498.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.1581, allocations: 23.98 kB / 498.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1585, allocations: 24.59 kB / 498.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.1589, allocations: 197.8 kB / 498.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1592, allocations: 0.7041 MB / 499.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.1592, allocations: 11.98 kB / 499.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1593, allocations: 15.42 kB / 499.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1593, allocations: 0 / 499.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003649/0.1629, allocations: 1.116 MB / 0.4889 GB, free: 10.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1)