Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002714, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002438, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1637/1.196, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1252/0.1252, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02386/0.149, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.331e-05, allocations: 2.312 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002603/0.002627, allocations: 0.5867 MB / 267.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.00333, allocations: 382.7 kB / 268.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.003353, allocations: 4 kB / 268.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.417e-06/0.003362, allocations: 3.938 kB / 268.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.458e-06/0.003372, allocations: 0 / 268.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.00381, allocations: 127.4 kB / 268.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.003889, allocations: 27.97 kB / 268.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.003936, allocations: 0 / 268.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.004017, allocations: 23.92 kB / 268.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.004085, allocations: 15.97 kB / 268.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.0041, allocations: 4 kB / 268.4 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.004483, allocations: 159.7 kB / 268.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.004499, allocations: 8 kB / 268.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.004522, allocations: 7.938 kB / 268.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.004754, allocations: 119.7 kB / 268.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-05/0.004772, allocations: 0 / 268.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004773, allocations: 0 / 268.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.004791, allocations: 0 / 268.7 MB, free: 5.086 MB / 266.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.0004481/0.00524, allocations: 288.2 kB / 268.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.005281, allocations: 15.89 kB / 269 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.005319, allocations: 4.938 kB / 269 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.005423, allocations: 121.7 kB / 269.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.005438, allocations: 8.375 kB / 269.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.005479, allocations: 4.375 kB / 269.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005592, allocations: 62.22 kB / 269.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.00561, allocations: 8.141 kB / 269.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.005619, allocations: 384 / 269.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005626, allocations: 4.125 kB / 269.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.005691, allocations: 27.91 kB / 269.2 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.005837, allocations: 73.03 kB / 269.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.005984, allocations: 66.52 kB / 269.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.006016, allocations: 20.86 kB / 269.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.006245, allocations: 27.97 kB / 269.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.006274, allocations: 34.56 kB / 269.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.006275, allocations: 4 kB / 269.4 MB, free: 4.242 MB / 266.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.03524/0.04152, allocations: 4.465 MB / 273.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.04156, allocations: 55.41 kB / 273.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.04164, allocations: 102.7 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.04166, allocations: 29.7 kB / 274.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.04168, allocations: 84.5 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.72e-05/0.04175, allocations: 79.2 kB / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.04182, allocations: 57.78 kB / 274.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.04192, allocations: 318.8 kB / 274.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.04197, allocations: 43.91 kB / 274.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.04203, allocations: 31.98 kB / 274.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.04216, allocations: 113.1 kB / 274.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.04216, allocations: 0 / 274.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001788/0.04234, allocations: 141.4 kB / 274.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.04236, allocations: 7.984 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.04237, allocations: 3.984 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.04238, allocations: 4 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.04261, allocations: 95.81 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.04261, allocations: 0 / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.04269, allocations: 27.97 kB / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.04271, allocations: 11.97 kB / 275.1 MB, free: 14.46 MB / 282.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 7.555e-05/0.04278, allocations: 121.8 kB / 275.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.04281, allocations: 15.92 kB / 275.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.04306, allocations: 190.2 kB / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.04307, allocations: 4 kB / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.04307, allocations: 0 / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.04308, allocations: 3.984 kB / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.04375, allocations: 471.9 kB / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.04375, allocations: 0 / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.0439, allocations: 79.84 kB / 275.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.04391, allocations: 11.94 kB / 275.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.04391, allocations: 4 kB / 275.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.04393, allocations: 12.05 kB / 275.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.04393, allocations: 4 kB / 276 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.04393, allocations: 0 / 276 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.0441, allocations: 233.2 kB / 276.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.04412, allocations: 8 kB / 276.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.0442, allocations: 27.95 kB / 276.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.04422, allocations: 11.98 kB / 276.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.04423, allocations: 7.984 kB / 276.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.147e-06/0.04424, allocations: 8.859 kB / 276.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04424, allocations: 0 / 276.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007981/0.04504, allocations: 491.5 kB / 276.7 MB, free: 12.71 MB / 282.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.001321/0.04636, allocations: 291.8 kB / 277 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.04654, allocations: 116.7 kB / 277.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.04655, allocations: 4 kB / 277.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.04661, allocations: 68.73 kB / 277.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.04676, allocations: 35.92 kB / 277.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.04715, allocations: 274.8 kB / 277.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.04719, allocations: 67.84 kB / 277.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.04731, allocations: 53.14 kB / 277.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.04742, allocations: 79.33 kB / 277.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.04742, allocations: 0 / 277.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of Templates: time 0.05133/0.09875, allocations: 43.57 MB / 321.3 MB, free: 15.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.713453776203096]