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.001353/0.001353, allocations: 200.2 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 226.5 MB / 245.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 93.59 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4218/0.4218, allocations: 44.82 MB / 394.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003802, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3455, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4687, allocations: 86.67 MB / 0.603 GB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.469, allocations: 71.95 kB / 0.6031 GB, free: 2.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009895/0.4789, allocations: 3.182 MB / 0.6062 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.4789, allocations: 0 / 0.6062 GB, free: 15.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.4789, allocations: 0 / 0.6062 GB, free: 15.39 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.0004052/0.4794, allocations: 375.2 kB / 0.6066 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4794, allocations: 8.031 kB / 0.6066 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.4795, allocations: 8.844 kB / 0.6066 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4796, allocations: 164.3 kB / 0.6068 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4796, allocations: 8.375 kB / 0.6068 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.4797, allocations: 16.36 kB / 0.6068 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4798, allocations: 58.23 kB / 0.6068 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4798, allocations: 4.188 kB / 0.6068 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4798, allocations: 7.938 kB / 0.6068 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4798, allocations: 0 / 0.6068 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.48, allocations: 43.33 kB / 0.6069 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.4802, allocations: 181.5 kB / 0.6071 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.4803, allocations: 86.47 kB / 0.6071 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.4804, allocations: 33.23 kB / 0.6072 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.4807, allocations: 113 kB / 0.6073 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4808, allocations: 34.56 kB / 0.6073 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4808, allocations: 4 kB / 0.6073 GB, free: 14.09 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.1051/0.5858, allocations: 5.539 MB / 0.6127 GB, free: 8.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.5859, allocations: 55.39 kB / 0.6128 GB, free: 8.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.586, allocations: 97.86 kB / 0.6129 GB, free: 8.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5861, allocations: 29.83 kB / 0.6129 GB, free: 8.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.5861, allocations: 80.52 kB / 0.613 GB, free: 8.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.5862, allocations: 74.86 kB / 0.6131 GB, free: 8.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.5862, allocations: 8 kB / 0.6131 GB, free: 8.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5864, allocations: 330.7 kB / 0.6134 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.5867, allocations: 135.9 kB / 0.6135 GB, free: 7.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.5871, allocations: 138.3 kB / 0.6136 GB, free: 7.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.5884, allocations: 369 kB / 0.614 GB, free: 7.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5884, allocations: 0 / 0.614 GB, free: 7.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001117/0.5895, allocations: 401.2 kB / 0.6144 GB, free: 6.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.5896, allocations: 4 kB / 0.6144 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5896, allocations: 0 / 0.6144 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5896, allocations: 4 kB / 0.6144 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.59, allocations: 99.84 kB / 0.6145 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.59, allocations: 0 / 0.6145 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.5902, allocations: 43.97 kB / 0.6145 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5903, allocations: 11.98 kB / 0.6145 GB, free: 6.621 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.0001124/0.5904, allocations: 125.7 kB / 0.6146 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.5904, allocations: 7.906 kB / 0.6147 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.5918, allocations: 473.8 kB / 0.6151 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5919, allocations: 4 kB / 0.6151 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.5919, allocations: 3.984 kB / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.5919, allocations: 3.984 kB / 0.6151 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.5941, allocations: 0.8686 MB / 0.616 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5941, allocations: 3.938 kB / 0.616 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.5944, allocations: 95.92 kB / 0.6161 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.5944, allocations: 4 kB / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.5945, allocations: 12 kB / 0.6161 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5945, allocations: 3.984 kB / 0.6161 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5945, allocations: 3.984 kB / 0.6161 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5956, allocations: 468.7 kB / 0.6165 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.5957, allocations: 85.02 kB / 0.6166 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.5957, allocations: 11.98 kB / 0.6166 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.5959, allocations: 39.97 kB / 0.6167 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.596, allocations: 11.98 kB / 0.6167 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.596, allocations: 15.98 kB / 0.6167 GB, free: 4.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.596, allocations: 79.28 kB / 0.6168 GB, free: 4.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.596, allocations: 4 kB / 0.6168 GB, free: 4.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001633/0.5977, allocations: 0.609 MB / 0.6174 GB, free: 3.594 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.003079/0.6008, allocations: 354.5 kB / 0.6177 GB, free: 3.234 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.6015, allocations: 308.1 kB / 0.618 GB, free: 2.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6016, allocations: 4 kB / 0.618 GB, free: 2.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.6019, allocations: 156 kB / 0.6181 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.6022, allocations: 4 kB / 0.6181 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.6031, allocations: 413.9 kB / 0.6185 GB, free: 2.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6034, allocations: 0.6973 MB / 0.6192 GB, free: 1.609 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.6038, allocations: 81.08 kB / 0.6193 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.6039, allocations: 47.39 kB / 0.6193 GB, free: 1.484 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.604, allocations: 0 / 0.6193 GB, free: 1.484 MB / 426.7 MB Notification: Performance of Templates: time 0.07044/0.6744, allocations: 48.17 MB / 0.6664 GB, free: 1.305 MB / 474.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/jenkins1/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