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.001348/0.001348, allocations: 82.64 kB / 21.44 MB, free: 3.062 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.0009912/0.0009912, allocations: 165.3 kB / 24.84 MB, free: 9.191 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.8757/0.8757, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1271/0.1271, allocations: 32.37 MB / 271.5 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.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.453e-06/1.453e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.085e-05, allocations: 2.312 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001352/0.001373, allocations: 0.5493 MB / 349.4 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.001925, allocations: 382.8 kB / 349.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.001956, allocations: 0 / 349.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.001975, allocations: 3.938 kB / 349.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.001999, allocations: 4 kB / 349.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.002427, allocations: 139.4 kB / 350 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.002482, allocations: 35.95 kB / 350 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.002526, allocations: 0 / 350 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.002559, allocations: 23.92 kB / 350 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.00261, allocations: 11.97 kB / 350 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.002621, allocations: 4 kB / 350 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.002785, allocations: 139.8 kB / 350.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.002799, allocations: 12 kB / 350.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.002814, allocations: 7.984 kB / 350.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.002979, allocations: 155.5 kB / 350.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002981, allocations: 0 / 350.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.002982, allocations: 0 / 350.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.002988, allocations: 0 / 350.3 MB, free: 7.738 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002749/0.003263, allocations: 392.3 kB / 350.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.003295, allocations: 8.031 kB / 350.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.003324, allocations: 8.938 kB / 350.7 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.003399, allocations: 116.5 kB / 350.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.003413, allocations: 8.375 kB / 350.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.003435, allocations: 16.31 kB / 350.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.003518, allocations: 52.98 kB / 350.9 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.00353, allocations: 192 / 350.9 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003537, allocations: 4.375 kB / 350.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.003544, allocations: 8.125 kB / 350.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.003589, allocations: 39.89 kB / 351 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.003692, allocations: 117.1 kB / 351.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.003762, allocations: 75.02 kB / 351.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.003789, allocations: 27.67 kB / 351.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.003925, allocations: 27.97 kB / 351.2 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.003939, allocations: 41.38 kB / 351.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.00394, allocations: 0 / 351.3 MB, free: 6.699 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.05851/0.06245, allocations: 5.369 MB / 356.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.06248, allocations: 59.41 kB / 356.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.06252, allocations: 157.9 kB / 356.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.06253, allocations: 25.7 kB / 356.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.31e-05/0.06255, allocations: 127.2 kB / 357 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.06259, allocations: 87.25 kB / 357.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.06265, allocations: 63.31 kB / 357.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.06269, allocations: 0.4923 MB / 357.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.06276, allocations: 47.95 kB / 357.7 MB, free: 180 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.06282, allocations: 53.17 kB / 357.7 MB, free: 128 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.0633, allocations: 199.8 kB / 357.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.0633, allocations: 4.125 kB / 357.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004365/0.06374, allocations: 237.3 kB / 358.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.06376, allocations: 8 kB / 358.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.06376, allocations: 0 / 358.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.06378, allocations: 0 / 358.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.06403, allocations: 83.86 kB / 358.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.06403, allocations: 0 / 358.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.06413, allocations: 35.95 kB / 358.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.06415, allocations: 11.98 kB / 358.3 MB, free: 15.55 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 0.0001013/0.06425, allocations: 164.6 kB / 358.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.06429, allocations: 19.89 kB / 358.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.06509, allocations: 297.9 kB / 358.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.06509, allocations: 4 kB / 358.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.06509, allocations: 0 / 358.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.0651, allocations: 3.984 kB / 358.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.0661, allocations: 0.6335 MB / 359.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.0661, allocations: 4.062 kB / 359.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.06625, allocations: 83.86 kB / 359.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.06626, allocations: 0 / 359.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.06627, allocations: 15.98 kB / 359.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.06628, allocations: 4 kB / 359.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.06628, allocations: 0 / 359.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.06676, allocations: 375.2 kB / 359.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.06677, allocations: 7.953 kB / 359.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.06679, allocations: 7.875 kB / 359.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.06688, allocations: 31.97 kB / 359.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.0669, allocations: 23.91 kB / 360 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.06692, allocations: 15.98 kB / 360 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.06695, allocations: 119.2 kB / 360.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.06695, allocations: 0 / 360.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001502/0.06845, allocations: 0.6324 MB / 360.7 MB, free: 13.04 MB / 298.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.002309/0.07076, allocations: 318.7 kB / 361 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.07101, allocations: 147.7 kB / 361.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.07101, allocations: 3.938 kB / 361.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.0711, allocations: 83.5 kB / 361.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.07129, allocations: 31.92 kB / 361.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.07172, allocations: 286.3 kB / 361.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.07201, allocations: 71.84 kB / 361.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.07217, allocations: 69.16 kB / 361.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.0723, allocations: 118.1 kB / 361.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0723, allocations: 0 / 361.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.05993/0.1322, allocations: 59.73 MB / 421.6 MB, free: 15.93 MB / 362.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] 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","",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.1334871891886]