Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001398/0.001398, allocations: 81.08 kB / 20.65 MB, free: 3.836 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.001811/0.001811, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9252/0.9252, allocations: 158.6 MB / 185.9 MB, free: 2.777 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.1494/0.1494, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.204e-05, allocations: 6.25 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001088/0.00111, allocations: 0.5539 MB / 348.7 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004928/0.001603, allocations: 382.8 kB / 349 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.001631, allocations: 0 / 349 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.001647, allocations: 3.938 kB / 349 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.337e-05/0.001681, allocations: 7.938 kB / 349 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.002095, allocations: 135.5 kB / 349.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.002145, allocations: 27.91 kB / 349.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.002177, allocations: 4 kB / 349.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.002209, allocations: 19.92 kB / 349.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.002258, allocations: 11.97 kB / 349.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.002269, allocations: 4 kB / 349.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.002432, allocations: 131.8 kB / 349.4 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.002445, allocations: 7.922 kB / 349.4 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.002459, allocations: 11.98 kB / 349.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.002603, allocations: 143.6 kB / 349.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002605, allocations: 4 kB / 349.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.002606, allocations: 0 / 349.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.00261, allocations: 0 / 349.5 MB, free: 7.758 MB / 282.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.0002401/0.00285, allocations: 396.2 kB / 349.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.002885, allocations: 12.03 kB / 349.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.002909, allocations: 8.891 kB / 349.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.77e-05/0.002957, allocations: 116.5 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.002966, allocations: 8.375 kB / 350.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.002982, allocations: 4.375 kB / 350.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.094e-05/0.003043, allocations: 42.25 kB / 350.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003051, allocations: 8.141 kB / 350.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.003057, allocations: 4.375 kB / 350.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003061, allocations: 4.125 kB / 350.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.003089, allocations: 27.89 kB / 350.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.297e-05/0.003182, allocations: 109.2 kB / 350.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.003301, allocations: 51.03 kB / 350.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.00332, allocations: 15.69 kB / 350.3 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.00345, allocations: 39.95 kB / 350.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.003463, allocations: 41.61 kB / 350.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.003464, allocations: 0 / 350.4 MB, free: 6.77 MB / 282.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.05526/0.05872, allocations: 6.011 MB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.05874, allocations: 55.41 kB / 356.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.05879, allocations: 161.9 kB / 356.6 MB, free: 484 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.05882, allocations: 29.7 kB / 356.7 MB, free: 448 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.05884, allocations: 130.9 kB / 356.8 MB, free: 312 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.0589, allocations: 67.41 kB / 356.9 MB, free: 244 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.05899, allocations: 91.25 kB / 356.9 MB, free: 144 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.05911, allocations: 0.4884 MB / 357.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.0593, allocations: 183.9 kB / 357.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.05949, allocations: 182.9 kB / 357.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.0603, allocations: 451.5 kB / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.0603, allocations: 0 / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007673/0.06107, allocations: 0.5163 MB / 358.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.06109, allocations: 7.984 kB / 358.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0611, allocations: 0 / 358.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.06111, allocations: 4.188 kB / 358.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.06141, allocations: 107.8 kB / 358.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.06142, allocations: 4 kB / 358.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.06159, allocations: 19.98 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.06162, allocations: 35.94 kB / 358.9 MB, free: 14.14 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 (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.0001075/0.06173, allocations: 160.5 kB / 359.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.06179, allocations: 15.89 kB / 359.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008895/0.06268, allocations: 0.6265 MB / 359.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.06269, allocations: 0 / 359.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.06269, allocations: 0 / 359.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.06269, allocations: 3.984 kB / 359.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.06438, allocations: 0.9908 MB / 360.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.06438, allocations: 0 / 360.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.0646, allocations: 100 kB / 360.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.06461, allocations: 4 kB / 360.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.06464, allocations: 27.95 kB / 360.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.06464, allocations: 0 / 360.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.06464, allocations: 4 kB / 360.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.06533, allocations: 0.5511 MB / 361.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.06535, allocations: 11.94 kB / 361.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.06538, allocations: 12 kB / 361.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.06554, allocations: 19.97 kB / 361.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.06556, allocations: 23.86 kB / 361.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.06559, allocations: 23.95 kB / 361.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.06563, allocations: 127.2 kB / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06563, allocations: 0 / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001442/0.06708, allocations: 0.648 MB / 362.3 MB, free: 10.68 MB / 298.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.002128/0.0692, allocations: 322.5 kB / 362.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.06967, allocations: 386.2 kB / 363 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.06967, allocations: 0 / 363 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.06985, allocations: 171.8 kB / 363.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.07007, allocations: 55.94 kB / 363.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.07108, allocations: 492.1 kB / 363.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.07112, allocations: 67.59 kB / 363.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.07138, allocations: 133.1 kB / 363.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.07168, allocations: 150 kB / 364 MB, free: 8.844 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.07168, allocations: 3.938 kB / 364 MB, free: 8.84 MB / 298.7 MB Notification: Performance of Templates: time 0.06405/0.1357, allocations: 64.13 MB / 428.1 MB, free: 8.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.337245942093432]