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.0009516/0.0009516, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001046/0.001046, allocations: 169 kB / 24.14 MB, free: 360 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.8316/0.8316, allocations: 158.6 MB / 186 MB, free: 2.77 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.1251/0.1251, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.272e-06/1.272e-06, allocations: 0 / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.633e-05, allocations: 2.312 kB / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001007/0.001024, allocations: 0.5559 MB / 299.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.001559, allocations: 390.7 kB / 300 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.001585, allocations: 0 / 300 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.001597, allocations: 0 / 300 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.117e-05/0.001619, allocations: 3.938 kB / 300 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.002, allocations: 147.4 kB / 300.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.002048, allocations: 27.91 kB / 300.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.002084, allocations: 4 kB / 300.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.002119, allocations: 19.97 kB / 300.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.002166, allocations: 15.98 kB / 300.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.002175, allocations: 0 / 300.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.002367, allocations: 139.8 kB / 300.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.002382, allocations: 7.984 kB / 300.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.002404, allocations: 15.92 kB / 300.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.00256, allocations: 155.6 kB / 300.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002562, allocations: 0 / 300.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002562, allocations: 0 / 300.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.514e-06/0.002565, allocations: 0 / 300.5 MB, free: 0.75 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.0002353/0.0028, allocations: 268.6 kB / 300.8 MB, free: 476 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.002826, allocations: 8.031 kB / 300.8 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.002849, allocations: 4.938 kB / 300.8 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.693e-05/0.002916, allocations: 109.7 kB / 300.9 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002926, allocations: 4.375 kB / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.002945, allocations: 8.375 kB / 300.9 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.121e-05/0.003016, allocations: 62.22 kB / 301 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.003026, allocations: 12.08 kB / 301 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.003032, allocations: 384 / 301 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.003038, allocations: 4.125 kB / 301 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.003076, allocations: 27.97 kB / 301 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.051e-05/0.003166, allocations: 84.95 kB / 301.1 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/0.003246, allocations: 66.47 kB / 301.2 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.003269, allocations: 20.86 kB / 301.2 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1214/0.1246, allocations: 22.83 kB / 301.2 MB, free: 19.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1247, allocations: 35.12 kB / 301.2 MB, free: 19.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.1247, allocations: 0 / 301.2 MB, free: 19.76 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.055/0.1797, allocations: 5.184 MB / 306.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.1797, allocations: 58.62 kB / 306.5 MB, free: 18.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.7e-05/0.1798, allocations: 99.89 kB / 306.6 MB, free: 18.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1798, allocations: 26.95 kB / 306.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.1798, allocations: 80.52 kB / 306.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1798, allocations: 86.16 kB / 306.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.1799, allocations: 45.75 kB / 306.8 MB, free: 18.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.85e-05/0.1799, allocations: 320.2 kB / 307.1 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.18, allocations: 32.17 kB / 307.2 MB, free: 18.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.18, allocations: 42.75 kB / 307.2 MB, free: 18.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.1805, allocations: 184.8 kB / 307.4 MB, free: 18.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1805, allocations: 0 / 307.4 MB, free: 18.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003193/0.1808, allocations: 169.8 kB / 307.5 MB, free: 17.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1808, allocations: 8.344 kB / 307.6 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1808, allocations: 5.328 kB / 307.6 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1808, allocations: 3.938 kB / 307.6 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.181, allocations: 73.12 kB / 307.6 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.181, allocations: 1.219 kB / 307.6 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.1811, allocations: 26.12 kB / 307.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1811, allocations: 12.05 kB / 307.7 MB, free: 17.93 MB / 282.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 6.807e-05/0.1812, allocations: 118.5 kB / 307.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1812, allocations: 16.42 kB / 307.8 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.1817, allocations: 234.4 kB / 308 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1817, allocations: 7.062 kB / 308 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1817, allocations: 0.875 kB / 308 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1817, allocations: 7.984 kB / 308 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.1825, allocations: 499.3 kB / 308.5 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1825, allocations: 1.531 kB / 308.5 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1826, allocations: 69.77 kB / 308.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1826, allocations: 1.531 kB / 308.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1826, allocations: 13.67 kB / 308.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1826, allocations: 1.344 kB / 308.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1826, allocations: 2.656 kB / 308.6 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1829, allocations: 267.7 kB / 308.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.1829, allocations: 12.27 kB / 308.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.183, allocations: 10.83 kB / 308.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.1831, allocations: 28.09 kB / 308.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1831, allocations: 12.31 kB / 308.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1831, allocations: 11.3 kB / 309 MB, free: 17.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.187e-06/0.1831, allocations: 6.016 kB / 309 MB, free: 17.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1831, allocations: 0 / 309 MB, free: 17.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001366/0.1845, allocations: 0.6292 MB / 309.6 MB, free: 17.12 MB / 282.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.001936/0.1864, allocations: 311.9 kB / 309.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1866, allocations: 119.4 kB / 310 MB, free: 16.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.1866, allocations: 0 / 310 MB, free: 16.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.1867, allocations: 74.58 kB / 310.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1868, allocations: 18.11 kB / 310.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.1872, allocations: 265.4 kB / 310.4 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.1872, allocations: 68.16 kB / 310.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1874, allocations: 75.17 kB / 310.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1875, allocations: 85.42 kB / 310.6 MB, free: 16.55 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1875, allocations: 0 / 310.6 MB, free: 16.55 MB / 282.7 MB Notification: Performance of Templates: time 0.058/0.2455, allocations: 59.65 MB / 370.2 MB, free: 6.598 MB / 330.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.204895605333149]