Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003948/0.003956, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.925/3.925, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004956/0.004956, allocations: 226.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5268/0.5268, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006067, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1227, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.571, allocations: 79.8 MB / 0.758 GB, free: 5.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5713, allocations: 66.28 kB / 0.7581 GB, free: 5.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.5851, allocations: 3.121 MB / 0.7611 GB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5851, allocations: 0 / 0.7611 GB, free: 2.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.5852, allocations: 0 / 0.7611 GB, free: 2.844 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000354/0.5855, allocations: 363.1 kB / 0.7615 GB, free: 2.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5856, allocations: 11.97 kB / 0.7615 GB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.5856, allocations: 7.906 kB / 0.7615 GB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.5857, allocations: 163 kB / 0.7616 GB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5858, allocations: 4 kB / 0.7616 GB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.5858, allocations: 11.88 kB / 0.7617 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.586, allocations: 59.8 kB / 0.7617 GB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.586, allocations: 7.734 kB / 0.7617 GB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.586, allocations: 7.953 kB / 0.7617 GB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.586, allocations: 0 / 0.7617 GB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.5862, allocations: 45.14 kB / 0.7618 GB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.5863, allocations: 168.8 kB / 0.7619 GB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.5865, allocations: 93.66 kB / 0.762 GB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.5866, allocations: 35.72 kB / 0.7621 GB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.5869, allocations: 105.1 kB / 0.7622 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.5869, allocations: 34.38 kB / 0.7622 GB, free: 1.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.5869, allocations: 0 / 0.7622 GB, free: 1.629 MB / 346.7 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.2527/0.8396, allocations: 5.538 MB / 0.7676 GB, free: 12.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.8397, allocations: 51.41 kB / 0.7676 GB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.8398, allocations: 93.86 kB / 0.7677 GB, free: 12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.8399, allocations: 29.02 kB / 0.7678 GB, free: 11.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.8399, allocations: 84.64 kB / 0.7678 GB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.84, allocations: 72.97 kB / 0.7679 GB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.8401, allocations: 2.875 kB / 0.7679 GB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8402, allocations: 318.1 kB / 0.7682 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.8409, allocations: 131.2 kB / 0.7683 GB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.8416, allocations: 137.7 kB / 0.7685 GB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.843, allocations: 187.5 kB / 0.7687 GB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8431, allocations: 3.938 kB / 0.7687 GB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002257/0.8453, allocations: 407 kB / 0.769 GB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.8454, allocations: 7.938 kB / 0.7691 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8454, allocations: 0 / 0.7691 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8454, allocations: 4 kB / 0.7691 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/0.8462, allocations: 95.84 kB / 0.7691 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8462, allocations: 0 / 0.7691 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.8466, allocations: 39.66 kB / 0.7692 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.8467, allocations: 18.86 kB / 0.7692 GB, free: 10.61 MB / 362.7 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 (23): * Single equations (assignments): 23 * 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.0001611/0.8469, allocations: 117.4 kB / 0.7693 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.8469, allocations: 11.86 kB / 0.7693 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.8496, allocations: 479 kB / 0.7698 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8496, allocations: 4 kB / 0.7698 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.8497, allocations: 0 / 0.7698 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.8497, allocations: 3.984 kB / 0.7698 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/0.8538, allocations: 0.8707 MB / 0.7706 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.8538, allocations: 0 / 0.7706 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.8545, allocations: 94.8 kB / 0.7707 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.8545, allocations: 0 / 0.7707 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.8545, allocations: 11.31 kB / 0.7707 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.8545, allocations: 0 / 0.7707 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.8546, allocations: 15.88 kB / 0.7708 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.8568, allocations: 465.7 kB / 0.7712 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.8569, allocations: 85.02 kB / 0.7713 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.857, allocations: 7.484 kB / 0.7713 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.8574, allocations: 39.28 kB / 0.7713 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.8574, allocations: 27.11 kB / 0.7714 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.8575, allocations: 15.98 kB / 0.7714 GB, free: 8.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.8575, allocations: 75.28 kB / 0.7714 GB, free: 8.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.8576, allocations: 0 / 0.7714 GB, free: 8.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002372/0.8599, allocations: 0.6102 MB / 0.772 GB, free: 7.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004826/0.8648, allocations: 345.3 kB / 0.7724 GB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.8665, allocations: 298 kB / 0.7726 GB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.8666, allocations: 0 / 0.7726 GB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.8673, allocations: 164.5 kB / 0.7728 GB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.8677, allocations: 18.16 kB / 0.7728 GB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.8694, allocations: 402.1 kB / 0.7732 GB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.8697, allocations: 0.705 MB / 0.7739 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000568/0.8703, allocations: 77.08 kB / 0.774 GB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.8706, allocations: 47.41 kB / 0.774 GB, free: 5.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8706, allocations: 0 / 0.774 GB, free: 5.777 MB / 362.7 MB Notification: Performance of Templates: time 0.09811/0.9687, allocations: 48.16 MB / 0.821 GB, free: 5.605 MB / 410.7 MB