Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") 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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009712/0.0009712, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.159/1.159, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007812/0.0007811, allocations: 99.91 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2712/0.2712, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002486, allocations: 8 kB / 468.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 63.24 MB / 0.5192 GB, free: 43.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09119/0.3747, allocations: 86.81 MB / 0.604 GB, free: 2.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3749, allocations: 64.5 kB / 0.604 GB, free: 2.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00929/0.3842, allocations: 3.192 MB / 0.6071 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3843, allocations: 0 / 0.6071 GB, free: 15.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3843, allocations: 0 / 0.6071 GB, free: 15.62 MB / 426.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.000311/0.3846, allocations: 375.8 kB / 0.6075 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3847, allocations: 12.03 kB / 0.6075 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3847, allocations: 7.906 kB / 0.6075 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/0.3848, allocations: 167 kB / 0.6077 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3848, allocations: 4 kB / 0.6077 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.3849, allocations: 8 kB / 0.6077 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.385, allocations: 63.53 kB / 0.6077 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.385, allocations: 0 / 0.6077 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.385, allocations: 8 kB / 0.6078 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.385, allocations: 0 / 0.6078 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.3851, allocations: 43.89 kB / 0.6078 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.3853, allocations: 185.5 kB / 0.608 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3854, allocations: 84.3 kB / 0.6081 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.3856, allocations: 109.1 kB / 0.6082 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3857, allocations: 42.94 kB / 0.6082 GB, free: 14.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3857, allocations: 3.938 kB / 0.6082 GB, free: 14.36 MB / 426.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.1119/0.4976, allocations: 5.539 MB / 0.6136 GB, free: 8.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4977, allocations: 59.41 kB / 0.6137 GB, free: 8.711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.754e-05/0.4978, allocations: 96.92 kB / 0.6138 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4978, allocations: 25.7 kB / 0.6138 GB, free: 8.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.4978, allocations: 80.52 kB / 0.6139 GB, free: 8.492 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.4979, allocations: 82.8 kB / 0.6139 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.4979, allocations: 4 kB / 0.6139 GB, free: 8.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.498, allocations: 318.8 kB / 0.6142 GB, free: 8.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.4984, allocations: 144 kB / 0.6144 GB, free: 7.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.4987, allocations: 139.5 kB / 0.6145 GB, free: 7.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.4995, allocations: 175.9 kB / 0.6147 GB, free: 7.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4995, allocations: 0 / 0.6147 GB, free: 7.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001153/0.5006, allocations: 393.2 kB / 0.6151 GB, free: 7.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5007, allocations: 15.98 kB / 0.6151 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5007, allocations: 0 / 0.6151 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5007, allocations: 0 / 0.6151 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.5011, allocations: 87.86 kB / 0.6152 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5011, allocations: 7.953 kB / 0.6152 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5013, allocations: 39.95 kB / 0.6152 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.5014, allocations: 15.98 kB / 0.6152 GB, free: 7.086 MB / 426.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.0001006/0.5015, allocations: 121.8 kB / 0.6153 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.5015, allocations: 15.89 kB / 0.6154 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.5029, allocations: 478.6 kB / 0.6158 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5029, allocations: 4 kB / 0.6158 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5029, allocations: 0 / 0.6158 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5029, allocations: 3.953 kB / 0.6158 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.5051, allocations: 0.8678 MB / 0.6167 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5052, allocations: 4.062 kB / 0.6167 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.5055, allocations: 87.86 kB / 0.6167 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5055, allocations: 0 / 0.6167 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.5055, allocations: 15.98 kB / 0.6168 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5055, allocations: 8 kB / 0.6168 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5055, allocations: 0 / 0.6168 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5066, allocations: 0.4923 MB / 0.6173 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.5067, allocations: 85.02 kB / 0.6173 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5067, allocations: 4 kB / 0.6173 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.5069, allocations: 35.97 kB / 0.6174 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.507, allocations: 23.92 kB / 0.6174 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.507, allocations: 19.98 kB / 0.6174 GB, free: 4.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.507, allocations: 75.28 kB / 0.6175 GB, free: 4.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.507, allocations: 0 / 0.6175 GB, free: 4.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001444/0.5085, allocations: 0.6129 MB / 0.6181 GB, free: 4.023 MB / 426.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.002701/0.5112, allocations: 342.6 kB / 0.6184 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007501/0.5119, allocations: 307.7 kB / 0.6187 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.512, allocations: 0 / 0.6187 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.5123, allocations: 157.4 kB / 0.6189 GB, free: 3.227 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.5124, allocations: 11.94 kB / 0.6189 GB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.5133, allocations: 408 kB / 0.6193 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.5136, allocations: 0.6978 MB / 0.6199 GB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.5139, allocations: 81.08 kB / 0.62 GB, free: 1.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.514, allocations: 47.39 kB / 0.6201 GB, free: 1.938 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.514, allocations: 4 kB / 0.6201 GB, free: 1.934 MB / 426.7 MB Notification: Performance of Templates: time 0.0238/0.5378, allocations: 17.13 MB / 0.6368 GB, free: 0.9102 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches