Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001046/0.001046, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002589, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002506, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9271/0.9271, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09984/1.027, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02681/0.2757, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.295e-05, allocations: 12.75 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009642/0.0009772, allocations: 0.5881 MB / 293.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.00141, allocations: 387.2 kB / 293.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.001426, allocations: 0 / 293.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.148e-06/0.00143, allocations: 0 / 293.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.001438, allocations: 3.938 kB / 293.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.001689, allocations: 131.4 kB / 293.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.001738, allocations: 27.97 kB / 293.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.001775, allocations: 7.938 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.001825, allocations: 19.97 kB / 294 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.001875, allocations: 11.98 kB / 294 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.001885, allocations: 3.938 kB / 294 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.002091, allocations: 155.8 kB / 294.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.002103, allocations: 4 kB / 294.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.267e-05/0.002116, allocations: 7.938 kB / 294.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.00227, allocations: 123.6 kB / 294.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.00228, allocations: 7.984 kB / 294.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002281, allocations: 0 / 294.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.002288, allocations: 0 / 294.3 MB, free: 4.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003763/0.002664, allocations: 289.4 kB / 294.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.002691, allocations: 8.625 kB / 294.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.002716, allocations: 4.938 kB / 294.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.212e-05/0.002788, allocations: 109.7 kB / 294.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.002797, allocations: 4.375 kB / 294.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.002818, allocations: 8.375 kB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.749e-05/0.002885, allocations: 58.22 kB / 294.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.002893, allocations: 192 / 294.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.002899, allocations: 4.375 kB / 294.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.002905, allocations: 4.125 kB / 294.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/0.002944, allocations: 26.34 kB / 294.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.357e-05/0.003027, allocations: 88.89 kB / 294.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.003096, allocations: 71.45 kB / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.003116, allocations: 21.23 kB / 295 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.003249, allocations: 23.97 kB / 295 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.003268, allocations: 42.56 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 7.21e-07/0.003268, allocations: 0 / 295 MB, free: 3.926 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.03509/0.03836, allocations: 4.623 MB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.03839, allocations: 55.34 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.03844, allocations: 98.72 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.03846, allocations: 25.7 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.03848, allocations: 80.52 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.03854, allocations: 91.23 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.0386, allocations: 49.78 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.03867, allocations: 322.8 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.03873, allocations: 35.98 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.03878, allocations: 35.97 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.0389, allocations: 118.8 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.0389, allocations: 0 / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001549/0.03906, allocations: 133.4 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.03907, allocations: 4 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.03908, allocations: 4 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.03909, allocations: 0 / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.03932, allocations: 99.8 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.03933, allocations: 4 kB / 300.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.03941, allocations: 19.97 kB / 300.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.03942, allocations: 11.98 kB / 300.8 MB, free: 14.05 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 7.807e-05/0.0395, allocations: 117.8 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.03953, allocations: 19.94 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.03978, allocations: 201 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.03979, allocations: 0 / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.03979, allocations: 0 / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.03979, allocations: 4 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.04041, allocations: 465.2 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.04042, allocations: 4 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.04056, allocations: 83.83 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.04057, allocations: 7.953 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.04057, allocations: 0 / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.04058, allocations: 16.05 kB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.04059, allocations: 0 / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.04059, allocations: 0 / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.04076, allocations: 232 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.04077, allocations: 7.938 kB / 302 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.04085, allocations: 23.97 kB / 302 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.04087, allocations: 19.91 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.04088, allocations: 7.984 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.113e-05/0.04089, allocations: 12.86 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04089, allocations: 0 / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008476/0.04174, allocations: 487.5 kB / 302.5 MB, free: 12.31 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.001418/0.04316, allocations: 291.8 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.04334, allocations: 126.8 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.04335, allocations: 0 / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.04342, allocations: 76.75 kB / 303 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.04356, allocations: 33.53 kB / 303 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.04394, allocations: 279.5 kB / 303.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.04398, allocations: 67.78 kB / 303.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.04409, allocations: 53.16 kB / 303.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.0442, allocations: 83.33 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0442, allocations: 0 / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of Templates: time 0.04189/0.08609, allocations: 43.96 MB / 347.4 MB, free: 15.35 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4695637403056026]