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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 164.8 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2635/0.2635, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.344e-05, allocations: 7.047 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001136/0.001159, allocations: 0.5348 MB / 326.4 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005581/0.001718, allocations: 387.3 kB / 326.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.001748, allocations: 7.938 kB / 326.8 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.001765, allocations: 3.938 kB / 326.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.749e-05/0.001792, allocations: 0 / 326.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.002233, allocations: 143.5 kB / 327 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.002292, allocations: 27.92 kB / 327 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.002337, allocations: 8.719 kB / 327 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.002376, allocations: 19.98 kB / 327 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.002441, allocations: 11.92 kB / 327 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.002457, allocations: 4 kB / 327 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.002653, allocations: 143.8 kB / 327.2 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.002671, allocations: 7.984 kB / 327.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.002689, allocations: 15.92 kB / 327.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.002864, allocations: 147.6 kB / 327.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.002867, allocations: 8 kB / 327.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002868, allocations: 0 / 327.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.002871, allocations: 3.938 kB / 327.3 MB, free: 5.727 MB / 298.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.0002415/0.003113, allocations: 266 kB / 327.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.003144, allocations: 12.03 kB / 327.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.003169, allocations: 4.938 kB / 327.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/0.003233, allocations: 101.8 kB / 327.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003243, allocations: 8.375 kB / 327.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.003266, allocations: 12.34 kB / 327.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.069e-05/0.003336, allocations: 58.92 kB / 327.8 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.003345, allocations: 4.188 kB / 327.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.003354, allocations: 12.36 kB / 327.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003359, allocations: 4.125 kB / 327.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.003405, allocations: 29.58 kB / 327.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.71e-05/0.003492, allocations: 80.94 kB / 327.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.003564, allocations: 62.53 kB / 328 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.003584, allocations: 16.86 kB / 328 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.003738, allocations: 27.97 kB / 328 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.003758, allocations: 42.48 kB / 328.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.00376, allocations: 4 kB / 328.1 MB, free: 4.91 MB / 298.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.04743/0.05119, allocations: 5.193 MB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.05123, allocations: 51.41 kB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.05128, allocations: 98.72 kB / 333.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.0513, allocations: 29.7 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.05133, allocations: 84.45 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.05139, allocations: 71.45 kB / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.05145, allocations: 57.66 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.05153, allocations: 318.8 kB / 334 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.05158, allocations: 39.97 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.05163, allocations: 35.84 kB / 334 MB, free: 14.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.05205, allocations: 174.1 kB / 334.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.05205, allocations: 4 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003205/0.05237, allocations: 170.8 kB / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.05239, allocations: 4 kB / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.0524, allocations: 0 / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.05241, allocations: 4 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.05261, allocations: 75.84 kB / 334.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.05261, allocations: 0 / 334.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.0527, allocations: 31.97 kB / 334.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.05271, allocations: 11.97 kB / 334.5 MB, free: 14.39 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.339e-05/0.0528, allocations: 125.7 kB / 334.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.05282, allocations: 11.94 kB / 334.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.05326, allocations: 243.2 kB / 334.9 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.05328, allocations: 4 kB / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.05328, allocations: 0 / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.05328, allocations: 0 / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.05411, allocations: 0.4897 MB / 335.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.05411, allocations: 0 / 335.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.05424, allocations: 63.88 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.05424, allocations: 0 / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.05426, allocations: 19.98 kB / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.05426, allocations: 0 / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.05426, allocations: 0 / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.05459, allocations: 272.1 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.0546, allocations: 11.95 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.05462, allocations: 4 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.05471, allocations: 31.95 kB / 335.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.05473, allocations: 11.98 kB / 335.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.05474, allocations: 7.984 kB / 335.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.221e-05/0.05476, allocations: 8.859 kB / 335.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05476, allocations: 0 / 335.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00115/0.05591, allocations: 0.6284 MB / 336.4 MB, free: 12.4 MB / 314.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 (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.001933/0.05784, allocations: 311.6 kB / 336.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.05803, allocations: 116.5 kB / 336.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.05803, allocations: 0 / 336.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.0581, allocations: 68.75 kB / 336.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.05824, allocations: 17.08 kB / 336.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.05867, allocations: 276.8 kB / 337.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.047e-05/0.05876, allocations: 63.84 kB / 337.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.05891, allocations: 81.14 kB / 337.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.05904, allocations: 79.33 kB / 337.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.05904, allocations: 0 / 337.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Templates: time 0.06206/0.1211, allocations: 59.66 MB / 397.1 MB, free: 15.67 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6518229162320495]