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.0008606/0.0008606, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0008659/0.0008659, allocations: 169.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.7922/0.7922, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.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.1186/0.1186, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.402e-06/1.402e-06, allocations: 0 / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.565e-05, allocations: 6.078 kB / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0008769/0.0008925, allocations: 0.5376 MB / 408.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004733/0.001366, allocations: 384.5 kB / 409 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.001387, allocations: 0 / 409 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.001401, allocations: 0 / 409 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.296e-05/0.001424, allocations: 3.938 kB / 409 MB, free: 0.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.00178, allocations: 139.5 kB / 409.1 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.001828, allocations: 27.91 kB / 409.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.001867, allocations: 12 kB / 409.2 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.001898, allocations: 19.92 kB / 409.2 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.001942, allocations: 15.97 kB / 409.2 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.001954, allocations: 4 kB / 409.2 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.002116, allocations: 139.8 kB / 409.4 MB, free: 492 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.002129, allocations: 7.922 kB / 409.4 MB, free: 484 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.002146, allocations: 15.98 kB / 409.4 MB, free: 468 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.002309, allocations: 147.6 kB / 409.5 MB, free: 320 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.002312, allocations: 4 kB / 409.5 MB, free: 316 kB / 378.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002312, allocations: 0 / 409.5 MB, free: 316 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002316, allocations: 8 kB / 409.5 MB, free: 308 kB / 378.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.0002924/0.002608, allocations: 286 kB / 409.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.002639, allocations: 12.03 kB / 409.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.002666, allocations: 4.891 kB / 409.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.726e-05/0.002733, allocations: 117.7 kB / 409.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.002745, allocations: 8.375 kB / 410 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.002766, allocations: 8.375 kB / 410 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.002855, allocations: 62.22 kB / 410 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.002865, allocations: 192 / 410 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.002873, allocations: 384 / 410 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.002878, allocations: 8.125 kB / 410 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.002939, allocations: 47.95 kB / 410.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.00305, allocations: 121.2 kB / 410.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.003142, allocations: 78.48 kB / 410.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.003174, allocations: 24.84 kB / 410.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.003326, allocations: 31.91 kB / 410.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.003564, allocations: 30.56 kB / 410.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.003565, allocations: 0 / 410.4 MB, free: 15.37 MB / 394.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.05605/0.05961, allocations: 5.623 MB / 416 MB, free: 9.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.05965, allocations: 51.41 kB / 416 MB, free: 9.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.0597, allocations: 93.86 kB / 416.1 MB, free: 9.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.05972, allocations: 29.7 kB / 416.2 MB, free: 9.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.05974, allocations: 84.64 kB / 416.2 MB, free: 9.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.05979, allocations: 75.33 kB / 416.3 MB, free: 9.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.05985, allocations: 61.67 kB / 416.4 MB, free: 9.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.05993, allocations: 314.8 kB / 416.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.06011, allocations: 119.7 kB / 416.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.06029, allocations: 120 kB / 416.9 MB, free: 8.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.06096, allocations: 320.5 kB / 417.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.06096, allocations: 3.938 kB / 417.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008401/0.0618, allocations: 357.6 kB / 417.6 MB, free: 8.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.06182, allocations: 4 kB / 417.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.06182, allocations: 0 / 417.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.06183, allocations: 0 / 417.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.06201, allocations: 87.78 kB / 417.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.06202, allocations: 0 / 417.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.0621, allocations: 23.97 kB / 417.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.06211, allocations: 19.98 kB / 417.7 MB, free: 7.91 MB / 394.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.164e-05/0.06219, allocations: 125.8 kB / 417.8 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.06221, allocations: 7.953 kB / 417.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.06292, allocations: 437.9 kB / 418.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.06292, allocations: 0 / 418.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.06293, allocations: 3.984 kB / 418.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.06293, allocations: 0 / 418.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.06403, allocations: 0.7061 MB / 419 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.06403, allocations: 0 / 419 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.06416, allocations: 75.86 kB / 419.1 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.06417, allocations: 7.984 kB / 419.1 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.06418, allocations: 15.98 kB / 419.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.06419, allocations: 64 / 419.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.06419, allocations: 11.88 kB / 419.1 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.06477, allocations: 420.9 kB / 419.5 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.06479, allocations: 15.94 kB / 419.5 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.06481, allocations: 4 kB / 419.5 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.06489, allocations: 31.91 kB / 419.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.06491, allocations: 11.97 kB / 419.6 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.06492, allocations: 15.98 kB / 419.6 MB, free: 5.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.057e-05/0.06494, allocations: 75.28 kB / 419.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06494, allocations: 0 / 419.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000942/0.06589, allocations: 0.6324 MB / 420.3 MB, free: 5.254 MB / 394.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.001997/0.06788, allocations: 330.6 kB / 420.6 MB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.0683, allocations: 251.6 kB / 420.9 MB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.06831, allocations: 0 / 420.9 MB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.06848, allocations: 127.8 kB / 421 MB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.06865, allocations: 8 kB / 421 MB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.06917, allocations: 361 kB / 421.3 MB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.06922, allocations: 84.05 kB / 421.4 MB, free: 4.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.06931, allocations: 56.45 kB / 421.5 MB, free: 3.984 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.06931, allocations: 0 / 421.5 MB, free: 3.984 MB / 394.7 MB Notification: Performance of Templates: time 0.01191/0.08122, allocations: 14.19 MB / 435.7 MB, free: 5.762 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.15501538477838]