Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001749, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.751/1.751, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3751/0.3751, allocations: 37.99 MB / 307.8 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.001775/0.001775, allocations: 77.08 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1478, allocations: 56.47 MB / 431.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004142/0.152, allocations: 1.558 MB / 433.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.1528, allocations: 313.2 kB / 433.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.1529, allocations: 3.938 kB / 433.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1533, allocations: 95.73 kB / 433.7 MB, free: 4.668 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.0002723/0.1536, allocations: 63.75 kB / 433.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1539, allocations: 71.83 kB / 433.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1541, allocations: 79.81 kB / 433.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1542, allocations: 24.38 kB / 433.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.1543, allocations: 35.84 kB / 433.9 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1544, allocations: 51.88 kB / 434 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1545, allocations: 7.938 kB / 434 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1546, allocations: 36 kB / 434 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.1547, allocations: 19.92 kB / 434.1 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.1548, allocations: 39.72 kB / 434.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.155, allocations: 99.59 kB / 434.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.155, allocations: 0 / 434.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.155, allocations: 0 / 434.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.155, allocations: 4 kB / 434.2 MB, free: 4.145 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005709/0.1556, allocations: 414.9 kB / 434.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1556, allocations: 11.89 kB / 434.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1557, allocations: 16.84 kB / 434.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1559, allocations: 204 kB / 434.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.156, allocations: 4.359 kB / 434.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.156, allocations: 8.375 kB / 434.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1562, allocations: 57.61 kB / 434.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1562, allocations: 7.938 kB / 434.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1562, allocations: 0 / 434.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1562, allocations: 0 / 434.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1564, allocations: 31.97 kB / 434.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1568, allocations: 300.8 kB / 435.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.157, allocations: 58.48 kB / 435.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.157, allocations: 16.98 kB / 435.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.1571, allocations: 8 kB / 435.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1571, allocations: 34.56 kB / 435.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1571, allocations: 0 / 435.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007319/0.1578, allocations: 185 kB / 435.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1579, allocations: 55.41 kB / 435.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1582, allocations: 235 kB / 435.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1582, allocations: 25.7 kB / 435.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.1583, allocations: 116 kB / 435.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1584, allocations: 23.66 kB / 436 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.1584, allocations: 21.7 kB / 436 MB, free: 2.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1586, allocations: 322.8 kB / 436.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.1587, allocations: 19.98 kB / 436.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.1588, allocations: 28.06 kB / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1589, allocations: 76.97 kB / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1589, allocations: 0 / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/0.1592, allocations: 97.47 kB / 436.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1592, allocations: 8 kB / 436.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1592, allocations: 7.875 kB / 436.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1593, allocations: 0 / 436.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1594, allocations: 19.98 kB / 436.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1594, allocations: 0 / 436.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.1595, allocations: 11.94 kB / 436.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1595, allocations: 4 kB / 436.6 MB, free: 1.539 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001447/0.1596, allocations: 129.8 kB / 436.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1597, allocations: 7.906 kB / 436.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.1597, allocations: 25.39 kB / 436.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1598, allocations: 0 / 436.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1598, allocations: 0 / 436.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1598, allocations: 3.938 kB / 436.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1603, allocations: 386.5 kB / 437.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1603, allocations: 0 / 437.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.1604, allocations: 27.92 kB / 437.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1604, allocations: 3.938 kB / 437.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1605, allocations: 0 / 437.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1605, allocations: 0 / 437.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1605, allocations: 384 / 437.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.1607, allocations: 199.3 kB / 437.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1608, allocations: 85.02 kB / 437.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1608, allocations: 3.938 kB / 437.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.1609, allocations: 19.98 kB / 437.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.161, allocations: 7.984 kB / 437.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.161, allocations: 0 / 437.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1612, allocations: 171.2 kB / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1612, allocations: 4 kB / 437.6 MB, free: 396 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1614, allocations: 16 kB / 437.6 MB, free: 380 kB / 366.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 (8): * Single equations (assignments): 8 * 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.001059/0.1625, allocations: 415.5 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1628, allocations: 63.95 kB / 438.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1628, allocations: 0 / 438.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.1629, allocations: 35.92 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.1634, allocations: 35.28 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.164, allocations: 254.1 kB / 438.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1644, allocations: 0.7119 MB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.1645, allocations: 16.97 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1645, allocations: 15.42 kB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1645, allocations: 0 / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of Templates: time 0.004377/0.1689, allocations: 1.209 MB / 440.4 MB, free: 13.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)