Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001002/0.001002, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.2936/0.2936, allocations: 38.04 MB / 308.4 MB, free: 10.59 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.0005482/0.0005484, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.000515/0.1124, allocations: 264.3 kB / 434.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000537/0.1129, allocations: 342.4 kB / 434.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.113, allocations: 3.938 kB / 434.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.113, allocations: 0 / 434.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.065e-05/0.113, allocations: 7.922 kB / 434.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1133, allocations: 67.84 kB / 434.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.146e-05/0.1134, allocations: 15.98 kB / 434.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1134, allocations: 4 kB / 434.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.1134, allocations: 19.94 kB / 434.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.1135, allocations: 19.91 kB / 434.7 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1135, allocations: 3.938 kB / 434.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.1137, allocations: 103.9 kB / 434.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.1137, allocations: 3.984 kB / 434.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.1137, allocations: 37.58 kB / 434.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1138, allocations: 68.17 kB / 434.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1139, allocations: 0 / 434.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1139, allocations: 0 / 434.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1139, allocations: 0 / 434.9 MB, free: 4.621 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003296/0.1142, allocations: 355.3 kB / 435.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1142, allocations: 16 kB / 435.2 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1143, allocations: 11.91 kB / 435.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.1144, allocations: 167 kB / 435.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1144, allocations: 4 kB / 435.4 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1144, allocations: 4 kB / 435.4 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1145, allocations: 57.61 kB / 435.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1146, allocations: 0 / 435.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1146, allocations: 4 kB / 435.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1146, allocations: 4 kB / 435.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.1146, allocations: 23.98 kB / 435.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1148, allocations: 169.6 kB / 435.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.115, allocations: 58.58 kB / 435.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.1153, allocations: 121.1 kB / 435.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1153, allocations: 34.56 kB / 435.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.1153, allocations: 0 / 435.9 MB, free: 3.434 MB / 366.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0416/0.1569, allocations: 2.818 MB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.157, allocations: 55.41 kB / 438.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.157, allocations: 101.8 kB / 438.8 MB, free: 412 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.1571, allocations: 29.7 kB / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1571, allocations: 84.14 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.1572, allocations: 59.11 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1572, allocations: 8 kB / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1574, allocations: 318.8 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.1578, allocations: 191.8 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1581, allocations: 191.8 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.1587, allocations: 215.9 kB / 439.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1587, allocations: 0 / 439.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001025/0.1597, allocations: 497 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1597, allocations: 4 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1597, allocations: 0 / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1598, allocations: 0 / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.1601, allocations: 83.88 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1602, allocations: 7.922 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1604, allocations: 28.23 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.1604, allocations: 15.98 kB / 440.5 MB, free: 14.68 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.1606, allocations: 126.8 kB / 440.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.1606, allocations: 15.89 kB / 440.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.1619, allocations: 0.5682 MB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1619, allocations: 0 / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1619, allocations: 4.469 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1619, allocations: 4 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.1641, allocations: 0.9594 MB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1642, allocations: 4 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1645, allocations: 75.88 kB / 442.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.1645, allocations: 11.89 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.1645, allocations: 15.98 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.1645, allocations: 4 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1646, allocations: 4 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.1656, allocations: 0.5495 MB / 442.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1657, allocations: 85.02 kB / 443 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1658, allocations: 8 kB / 443 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.166, allocations: 31.92 kB / 443 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.166, allocations: 11.98 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.1661, allocations: 19.98 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.1661, allocations: 83.28 kB / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1661, allocations: 0 / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008926/0.167, allocations: 316 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.1683, allocations: 235 kB / 443.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.1692, allocations: 375.2 kB / 444 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1692, allocations: 0 / 444 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.1696, allocations: 164.1 kB / 444.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.1697, allocations: 11.95 kB / 444.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1711, allocations: 476.4 kB / 444.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1714, allocations: 0.6968 MB / 445.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003682/0.1718, allocations: 101.1 kB / 445.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.1719, allocations: 51.39 kB / 445.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1719, allocations: 0 / 445.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Templates: time 0.1809/0.3528, allocations: 17.46 MB / 463 MB, free: 46.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) Environment - environmentSimulation: