Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009138/0.0009138, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001726/0.001726, allocations: 170.8 kB / 24.92 MB, free: 8.773 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.975/0.975, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2894/0.2894, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.513e-05, allocations: 2.312 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001113/0.001128, allocations: 0.5885 MB / 323.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005471/0.001675, allocations: 383.4 kB / 324.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.001699, allocations: 0 / 324.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.001713, allocations: 3.938 kB / 324.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.232e-05/0.001736, allocations: 0 / 324.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.00209, allocations: 127.4 kB / 324.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.002144, allocations: 31.97 kB / 324.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.002178, allocations: 0.625 kB / 324.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.002217, allocations: 27.91 kB / 324.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.002264, allocations: 15.97 kB / 324.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.002274, allocations: 0 / 324.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.002493, allocations: 147.8 kB / 324.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.002509, allocations: 19.91 kB / 324.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.002523, allocations: 8 kB / 324.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.002688, allocations: 159.5 kB / 324.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00269, allocations: 0 / 324.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002691, allocations: 0 / 324.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.002694, allocations: 0 / 324.7 MB, free: 8.184 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.0002618/0.002956, allocations: 273.8 kB / 325 MB, free: 7.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.002988, allocations: 8.031 kB / 325 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.003015, allocations: 8.938 kB / 325 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.388e-05/0.003089, allocations: 113.7 kB / 325.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.003098, allocations: 4.375 kB / 325.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.003118, allocations: 12.38 kB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.003189, allocations: 55.84 kB / 325.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003198, allocations: 4.188 kB / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.003204, allocations: 384 / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.003211, allocations: 4.125 kB / 325.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.003252, allocations: 27.97 kB / 325.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.003353, allocations: 84.86 kB / 325.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.154e-05/0.003424, allocations: 70.36 kB / 325.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.003444, allocations: 16.86 kB / 325.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.003582, allocations: 39.89 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.0036, allocations: 34.56 kB / 325.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.62e-07/0.003601, allocations: 0 / 325.5 MB, free: 7.359 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.05039/0.05399, allocations: 5.184 MB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.05403, allocations: 55.41 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.918e-05/0.05407, allocations: 98.7 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.05409, allocations: 29.7 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.05411, allocations: 80.64 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.05417, allocations: 87.31 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.05423, allocations: 45.66 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.0543, allocations: 318.8 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.05435, allocations: 35.97 kB / 331.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.0544, allocations: 35.84 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.05482, allocations: 176.7 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.05483, allocations: 3.938 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003165/0.05514, allocations: 175.6 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.05516, allocations: 8 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.05516, allocations: 0 / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.05517, allocations: 4 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.05537, allocations: 79.78 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.05538, allocations: 7.984 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.05546, allocations: 27.97 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.05548, allocations: 11.98 kB / 331.9 MB, free: 0.8242 MB / 298.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.444e-05/0.05555, allocations: 113.8 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.05558, allocations: 23.92 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.05599, allocations: 236.9 kB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.056, allocations: 4 kB / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.056, allocations: 0 / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.056, allocations: 0 / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.05678, allocations: 0.496 MB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.05679, allocations: 0 / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.05692, allocations: 75.78 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.05693, allocations: 8.062 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.05694, allocations: 0 / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.05694, allocations: 7.984 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.05694, allocations: 0 / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.05726, allocations: 268 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.05727, allocations: 11.94 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.05728, allocations: 0 / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.05737, allocations: 27.97 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.05739, allocations: 15.91 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.0574, allocations: 12 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.029e-05/0.05741, allocations: 12.84 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05741, allocations: 0 / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009833/0.05839, allocations: 0.6246 MB / 333.8 MB, free: 14.83 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.00214/0.06053, allocations: 307.7 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.06076, allocations: 124.5 kB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.06076, allocations: 0 / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.06085, allocations: 63.09 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.06103, allocations: 28.05 kB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.06151, allocations: 266.1 kB / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.06155, allocations: 63.86 kB / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000202/0.06176, allocations: 81.14 kB / 334.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.06192, allocations: 83.33 kB / 334.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.06192, allocations: 0 / 334.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of Templates: time 0.09917/0.1611, allocations: 59.67 MB / 394.5 MB, free: 2.098 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.278030751738697]