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.001476/0.001476, allocations: 88.23 kB / 20.21 MB, free: 4.223 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.001601/0.001601, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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 1.369/1.369, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2168/0.2168, allocations: 32.38 MB / 270 MB, free: 14.77 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.553e-06/1.553e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.717e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001289/0.001317, allocations: 0.5415 MB / 347.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005702/0.001887, allocations: 376.5 kB / 347.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.001915, allocations: 4 kB / 347.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.001927, allocations: 0 / 347.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.001964, allocations: 3.938 kB / 347.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.002365, allocations: 147.4 kB / 348 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.414e-05/0.002409, allocations: 19.98 kB / 348 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.002444, allocations: 0 / 348 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.002474, allocations: 23.91 kB / 348 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.002523, allocations: 11.98 kB / 348 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.002535, allocations: 4 kB / 348 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.002715, allocations: 139.8 kB / 348.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.002727, allocations: 4 kB / 348.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.002749, allocations: 4 kB / 348.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.002922, allocations: 151.5 kB / 348.3 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002924, allocations: 0 / 348.3 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.002925, allocations: 4 kB / 348.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.002928, allocations: 0 / 348.3 MB, free: 8.398 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.0003259/0.003254, allocations: 290 kB / 348.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.003285, allocations: 12.03 kB / 348.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.003329, allocations: 12.89 kB / 348.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.261e-05/0.003392, allocations: 109.8 kB / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.003409, allocations: 8.375 kB / 348.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.003434, allocations: 8.312 kB / 348.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.003542, allocations: 50.25 kB / 348.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.003555, allocations: 4.141 kB / 348.8 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.003564, allocations: 384 / 348.8 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.00357, allocations: 8.125 kB / 348.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.003626, allocations: 35.91 kB / 348.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.003745, allocations: 113.2 kB / 349 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.003941, allocations: 58.55 kB / 349 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.00398, allocations: 20.86 kB / 349.1 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.004223, allocations: 31.95 kB / 349.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.004236, allocations: 30.56 kB / 349.1 MB, free: 7.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.004238, allocations: 7.984 kB / 349.1 MB, free: 7.504 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.1337/0.1379, allocations: 6.379 MB / 355.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.138, allocations: 55.39 kB / 355.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.138, allocations: 109.9 kB / 355.7 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.1381, allocations: 25.7 kB / 355.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1381, allocations: 88.14 kB / 355.8 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.1382, allocations: 59.44 kB / 355.8 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.1383, allocations: 89.58 kB / 355.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.1384, allocations: 318.8 kB / 356.2 MB, free: 316 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.1388, allocations: 223.8 kB / 356.4 MB, free: 92 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.1394, allocations: 246.9 kB / 356.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.1417, allocations: 0.5512 MB / 357.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1417, allocations: 0 / 357.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002104/0.1438, allocations: 0.6221 MB / 357.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1438, allocations: 4 kB / 357.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1439, allocations: 4 kB / 357.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1439, allocations: 0 / 357.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.1446, allocations: 107.8 kB / 358 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1446, allocations: 4 kB / 358 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.1451, allocations: 23.95 kB / 358 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.1452, allocations: 31.95 kB / 358 MB, free: 14.49 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.0001836/0.1453, allocations: 117.8 kB / 358.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1455, allocations: 19.89 kB / 358.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.1479, allocations: 0.7313 MB / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1479, allocations: 4 kB / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1479, allocations: 0 / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1479, allocations: 0 / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.1525, allocations: 1.06 MB / 360 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1525, allocations: 0 / 360 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.1531, allocations: 103.8 kB / 360.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1531, allocations: 0 / 360.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.1532, allocations: 27.95 kB / 360.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.1532, allocations: 11.92 kB / 360.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1532, allocations: 3.984 kB / 360.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.1551, allocations: 0.5783 MB / 360.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.1551, allocations: 11.95 kB / 360.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.1552, allocations: 8.234 kB / 360.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.1556, allocations: 31.91 kB / 360.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1557, allocations: 15.97 kB / 360.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.1557, allocations: 27.95 kB / 360.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.1558, allocations: 87.28 kB / 360.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1558, allocations: 3.938 kB / 360.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002111/0.1579, allocations: 0.648 MB / 361.5 MB, free: 10.9 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.003288/0.1612, allocations: 322.5 kB / 361.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1625, allocations: 435.5 kB / 362.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1625, allocations: 3.938 kB / 362.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.1631, allocations: 191.8 kB / 362.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1635, allocations: 59.88 kB / 362.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1661, allocations: 0.5286 MB / 363 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1662, allocations: 87.56 kB / 363.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005002/0.1667, allocations: 125 kB / 363.2 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.1671, allocations: 84.36 kB / 363.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1671, allocations: 0 / 363.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of Templates: time 0.09103/0.2581, allocations: 58.45 MB / 421.8 MB, free: 14.36 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 5.6119082670193166]