Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009735/0.0009735, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001064/0.001064, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9066/0.9066, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1326/0.1326, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.896e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001412/0.001431, allocations: 0.5245 MB / 379.8 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005613/0.001993, allocations: 378.7 kB / 380.2 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.002019, allocations: 0 / 380.2 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.002034, allocations: 0 / 380.2 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.978e-05/0.002054, allocations: 3.938 kB / 380.2 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.002376, allocations: 151.4 kB / 380.3 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.002418, allocations: 23.92 kB / 380.3 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.002452, allocations: 11.98 kB / 380.4 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.002479, allocations: 19.97 kB / 380.4 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/0.002519, allocations: 11.98 kB / 380.4 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.002529, allocations: 4 kB / 380.4 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.002682, allocations: 135.8 kB / 380.5 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.002696, allocations: 15.97 kB / 380.5 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.15e-05/0.002707, allocations: 4 kB / 380.5 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.002839, allocations: 151.5 kB / 380.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002841, allocations: 0 / 380.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002842, allocations: 4 kB / 380.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.002845, allocations: 0 / 380.7 MB, free: 21.98 MB / 314.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.000218/0.003063, allocations: 400.2 kB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.003091, allocations: 12.03 kB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.003117, allocations: 16.92 kB / 381.1 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.721e-05/0.003164, allocations: 112.6 kB / 381.2 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.003173, allocations: 384 / 381.2 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.003189, allocations: 12.33 kB / 381.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.866e-05/0.003248, allocations: 58.22 kB / 381.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.003257, allocations: 192 / 381.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.003264, allocations: 8.312 kB / 381.3 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003269, allocations: 8.125 kB / 381.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.003304, allocations: 31.95 kB / 381.3 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.311e-05/0.003387, allocations: 121.1 kB / 381.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.003451, allocations: 78.95 kB / 381.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.003469, allocations: 19.67 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.003598, allocations: 35.97 kB / 381.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.003609, allocations: 33.39 kB / 381.6 MB, free: 20.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.00361, allocations: 0 / 381.6 MB, free: 20.94 MB / 314.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.05891/0.06252, allocations: 5.38 MB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.06254, allocations: 51.41 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.843e-05/0.06258, allocations: 153.9 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.0626, allocations: 29.64 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.3e-05/0.06261, allocations: 131.2 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.06265, allocations: 75.31 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.06271, allocations: 71.31 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.06275, allocations: 0.4924 MB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.06281, allocations: 51.95 kB / 388 MB, free: 14.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.06287, allocations: 47.83 kB / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.06329, allocations: 198.8 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.06329, allocations: 3.938 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000362/0.06366, allocations: 233.3 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.06367, allocations: 4 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.06367, allocations: 0 / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.06368, allocations: 4 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.06386, allocations: 87.84 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.06387, allocations: 0 / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.06395, allocations: 27.97 kB / 388.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.06396, allocations: 11.98 kB / 388.7 MB, free: 13.8 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 6.009e-05/0.06402, allocations: 168.6 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.06406, allocations: 19.89 kB / 388.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.06451, allocations: 302 kB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.06451, allocations: 0 / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.06451, allocations: 4 kB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.06451, allocations: 0 / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007761/0.06529, allocations: 0.6366 MB / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.06529, allocations: 0 / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.06542, allocations: 75.88 kB / 389.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.06542, allocations: 3.984 kB / 389.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.06543, allocations: 12 kB / 389.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.06544, allocations: 64 / 389.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.06544, allocations: 11.98 kB / 389.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.06577, allocations: 380 kB / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.06578, allocations: 7.953 kB / 390.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.0658, allocations: 8 kB / 390.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.06588, allocations: 23.97 kB / 390.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.0659, allocations: 23.84 kB / 390.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.06591, allocations: 15.98 kB / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.222e-05/0.06592, allocations: 123.2 kB / 390.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06592, allocations: 0 / 390.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000992/0.06691, allocations: 0.6324 MB / 391.1 MB, free: 11.29 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.002223/0.06914, allocations: 314.6 kB / 391.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.06933, allocations: 150.6 kB / 391.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.06934, allocations: 0 / 391.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.06941, allocations: 83.5 kB / 391.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.06959, allocations: 37.8 kB / 391.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.06996, allocations: 288.3 kB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.527e-05/0.06998, allocations: 67.7 kB / 392 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.07012, allocations: 77.14 kB / 392.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.07024, allocations: 114.2 kB / 392.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.07024, allocations: 0 / 392.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of Templates: time 0.0522/0.1224, allocations: 59.73 MB / 451.9 MB, free: 14.34 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.072530766017735]