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.001886/0.001886, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002233/0.002233, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.385/1.385, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.2595/0.2595, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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 2.004e-06/2.004e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.604e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001332/0.001358, allocations: 0.5376 MB / 347.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.002016, allocations: 384.6 kB / 347.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.00205, allocations: 0 / 347.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.002066, allocations: 3.938 kB / 347.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.178e-05/0.002097, allocations: 0 / 347.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.002556, allocations: 139.5 kB / 348 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.192e-05/0.002608, allocations: 27.92 kB / 348 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.002653, allocations: 11.98 kB / 348 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.002689, allocations: 23.97 kB / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.002745, allocations: 23.91 kB / 348.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.002758, allocations: 0 / 348.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.002952, allocations: 127.9 kB / 348.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.002968, allocations: 11.97 kB / 348.2 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.002994, allocations: 11.94 kB / 348.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.003191, allocations: 155.5 kB / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003193, allocations: 0 / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003194, allocations: 0 / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.003198, allocations: 0 / 348.4 MB, free: 8.383 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.0004237/0.003621, allocations: 298 kB / 348.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.003662, allocations: 11.97 kB / 348.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.003715, allocations: 4.938 kB / 348.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.02e-05/0.003796, allocations: 105.8 kB / 348.8 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.003813, allocations: 8.375 kB / 348.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.003846, allocations: 8.328 kB / 348.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003964, allocations: 66.22 kB / 348.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.003978, allocations: 192 / 348.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.003993, allocations: 4.375 kB / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.003999, allocations: 4.125 kB / 348.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.327e-05/0.004082, allocations: 51.89 kB / 348.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.004254, allocations: 129.2 kB / 349 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.004388, allocations: 78.55 kB / 349.1 MB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.004438, allocations: 24.84 kB / 349.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.004706, allocations: 23.97 kB / 349.2 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.004731, allocations: 38.56 kB / 349.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.004732, allocations: 0 / 349.2 MB, free: 7.434 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.1254/0.1302, allocations: 5.632 MB / 354.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1302, allocations: 51.41 kB / 354.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.1303, allocations: 93.86 kB / 355 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1303, allocations: 33.69 kB / 355 MB, free: 1.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.1303, allocations: 80.52 kB / 355.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.1304, allocations: 79.45 kB / 355.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.1305, allocations: 61.67 kB / 355.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.1305, allocations: 318.8 kB / 355.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.1308, allocations: 111.9 kB / 355.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1311, allocations: 119.8 kB / 355.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.1324, allocations: 328.9 kB / 356.1 MB, free: 476 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1324, allocations: 3.938 kB / 356.1 MB, free: 472 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001039/0.1334, allocations: 357.2 kB / 356.4 MB, free: 108 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1334, allocations: 8 kB / 356.4 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1334, allocations: 0 / 356.4 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.1334, allocations: 0 / 356.4 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.1338, allocations: 87.84 kB / 356.5 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1338, allocations: 3.984 kB / 356.5 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.134, allocations: 27.97 kB / 356.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.1341, allocations: 15.97 kB / 356.6 MB, free: 15.96 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.0001424/0.1342, allocations: 129.7 kB / 356.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.1343, allocations: 15.95 kB / 356.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.1358, allocations: 425.9 kB / 357.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1358, allocations: 0 / 357.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1358, allocations: 7.938 kB / 357.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1358, allocations: 0 / 357.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.1383, allocations: 0.7022 MB / 357.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1383, allocations: 0 / 357.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.1386, allocations: 75.86 kB / 357.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1386, allocations: 0 / 357.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.1386, allocations: 15.98 kB / 357.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1386, allocations: 4 kB / 357.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1386, allocations: 8 kB / 357.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.14, allocations: 429 kB / 358.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.14, allocations: 7.953 kB / 358.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.14, allocations: 12 kB / 358.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1402, allocations: 27.91 kB / 358.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1403, allocations: 15.97 kB / 358.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.1403, allocations: 23.98 kB / 358.4 MB, free: 14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.1404, allocations: 75.28 kB / 358.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1404, allocations: 0 / 358.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001971/0.1424, allocations: 0.6245 MB / 359.1 MB, free: 13.3 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.003268/0.1456, allocations: 326.6 kB / 359.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.1466, allocations: 247.9 kB / 359.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1466, allocations: 4 kB / 359.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.147, allocations: 127.7 kB / 359.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1473, allocations: 23.98 kB / 359.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1488, allocations: 346.8 kB / 360.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.1489, allocations: 79.83 kB / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.1491, allocations: 77.09 kB / 360.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.1493, allocations: 48.45 kB / 360.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1493, allocations: 0 / 360.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of Templates: time 0.09062/0.2399, allocations: 54.19 MB / 414.6 MB, free: 5.613 MB / 346.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.593443095916882]