Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0009638/0.0009638, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009668/0.0009668, allocations: 171.3 kB / 24.92 MB, free: 9.18 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.94/0.94, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2678/0.2678, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.598e-05, allocations: 3.516 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001343/0.001369, allocations: 0.5361 MB / 323.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.001963, allocations: 383.3 kB / 324.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.001991, allocations: 0 / 324.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.002008, allocations: 3.938 kB / 324.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.002041, allocations: 3.938 kB / 324.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.002473, allocations: 143.5 kB / 324.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.002526, allocations: 23.92 kB / 324.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.002568, allocations: 15.92 kB / 324.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.002605, allocations: 15.97 kB / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.002658, allocations: 11.98 kB / 324.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.002668, allocations: 3.938 kB / 324.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.002872, allocations: 135.8 kB / 324.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.00289, allocations: 7.984 kB / 324.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.002908, allocations: 8.562 kB / 324.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.003086, allocations: 147.6 kB / 324.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.00309, allocations: 4 kB / 324.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.003091, allocations: 0 / 324.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003095, allocations: 0 / 324.6 MB, free: 8.301 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003075/0.003402, allocations: 269.8 kB / 324.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.003435, allocations: 8.031 kB / 324.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.003462, allocations: 8.938 kB / 324.9 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/0.003544, allocations: 117.7 kB / 325 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.003556, allocations: 4.312 kB / 325 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.003577, allocations: 4.375 kB / 325 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.833e-05/0.003655, allocations: 50.19 kB / 325.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.00367, allocations: 4.188 kB / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00368, allocations: 12.36 kB / 325.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003686, allocations: 4.125 kB / 325.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.003716, allocations: 12 kB / 325.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.568e-05/0.003812, allocations: 65.03 kB / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.003957, allocations: 50.58 kB / 325.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.003977, allocations: 16.86 kB / 325.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.004125, allocations: 31.95 kB / 325.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.004145, allocations: 38.56 kB / 325.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.004146, allocations: 0 / 325.3 MB, free: 7.531 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04911/0.05325, allocations: 5.722 MB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.05329, allocations: 51.41 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.05335, allocations: 114.7 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.05339, allocations: 25.7 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.05341, allocations: 80.14 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.05348, allocations: 71.36 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.05358, allocations: 65.58 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.05365, allocations: 322.8 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.05379, allocations: 140.2 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.05394, allocations: 146.7 kB / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.05465, allocations: 408.5 kB / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.05465, allocations: 0 / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005611/0.05521, allocations: 396.2 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.05523, allocations: 7.938 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.05523, allocations: 0 / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.05525, allocations: 0 / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.05553, allocations: 79.84 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.05553, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.05569, allocations: 15.98 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.05572, allocations: 31.88 kB / 332.9 MB, free: 15.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 (19): * Single equations (assignments): 19 * 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 0.0001048/0.05582, allocations: 109.8 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.05588, allocations: 23.91 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.0566, allocations: 497.7 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.05661, allocations: 4 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.05661, allocations: 3.938 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.05661, allocations: 4 kB / 333.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.05808, allocations: 0.696 MB / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.05808, allocations: 4 kB / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.0583, allocations: 67.88 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.0583, allocations: 4 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.05833, allocations: 15.95 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.05833, allocations: 12.12 kB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.05833, allocations: 7.984 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.05887, allocations: 399 kB / 334.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.05889, allocations: 7.953 kB / 334.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.05892, allocations: 4 kB / 334.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.05908, allocations: 27.97 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.0591, allocations: 23.91 kB / 334.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.05912, allocations: 19.95 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.577e-05/0.05914, allocations: 12.84 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05914, allocations: 0 / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001301/0.06044, allocations: 0.6518 MB / 335.5 MB, free: 13.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002058/0.0625, allocations: 307.6 kB / 335.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.0629, allocations: 300.6 kB / 336.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.0629, allocations: 0 / 336.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.06304, allocations: 132.6 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.06321, allocations: 39.94 kB / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.06415, allocations: 418.5 kB / 336.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.06418, allocations: 63.59 kB / 336.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.06444, allocations: 125 kB / 336.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.06471, allocations: 107.2 kB / 337 MB, free: 11.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.06471, allocations: 0 / 337 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Templates: time 0.06437/0.1291, allocations: 64.11 MB / 401.1 MB, free: 11.47 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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.298690538853407]