Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002253, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006261/0.0006261, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008942/0.00152, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9305/0.9305, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1655/1.096, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1443/0.1443, allocations: 32.8 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01832/0.1626, allocations: 12.54 MB / 284.5 MB, free: 9.727 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.298e-05, allocations: 6.25 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000992/0.001005, allocations: 0.5859 MB / 286.4 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004357/0.001441, allocations: 386.7 kB / 286.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.001458, allocations: 4 kB / 286.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.649e-06/0.001463, allocations: 7.938 kB / 286.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.00147, allocations: 3.938 kB / 286.8 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.00173, allocations: 111.5 kB / 286.9 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.00179, allocations: 31.91 kB / 287 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.00183, allocations: 7.938 kB / 287 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.001885, allocations: 27.95 kB / 287 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.001938, allocations: 4 kB / 287 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.001951, allocations: 11.94 kB / 287 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.002178, allocations: 155.8 kB / 287.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.002193, allocations: 4 kB / 287.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.002212, allocations: 11.94 kB / 287.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.002375, allocations: 119.6 kB / 287.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.002386, allocations: 0 / 287.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.002387, allocations: 0 / 287.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.002396, allocations: 0 / 287.3 MB, free: 6.973 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.0003014/0.002697, allocations: 296.2 kB / 287.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.002731, allocations: 12.03 kB / 287.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.002758, allocations: 8.938 kB / 287.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.119e-05/0.00283, allocations: 105.7 kB / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.00284, allocations: 4.375 kB / 287.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.002866, allocations: 16.3 kB / 287.7 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.002937, allocations: 50.23 kB / 287.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.002946, allocations: 192 / 287.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.00296, allocations: 8.375 kB / 287.8 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.002966, allocations: 4.125 kB / 287.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.003006, allocations: 31.58 kB / 287.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.65e-05/0.003093, allocations: 76.98 kB / 287.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.003167, allocations: 66.53 kB / 288 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.003189, allocations: 24.8 kB / 288 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.003329, allocations: 27.97 kB / 288 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.00335, allocations: 34.55 kB / 288 MB, free: 6.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.003351, allocations: 0 / 288 MB, free: 6.137 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.0359/0.03925, allocations: 4.621 MB / 292.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.03928, allocations: 63.34 kB / 292.7 MB, free: 1.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.03934, allocations: 98.72 kB / 292.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.03936, allocations: 29.7 kB / 292.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.03938, allocations: 84.5 kB / 292.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.03944, allocations: 83.25 kB / 293 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.0395, allocations: 45.66 kB / 293.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.03958, allocations: 322.8 kB / 293.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.03963, allocations: 39.97 kB / 293.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.03968, allocations: 39.03 kB / 293.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.0398, allocations: 112.6 kB / 293.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.03981, allocations: 0 / 293.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000168/0.03997, allocations: 147.1 kB / 293.7 MB, free: 364 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.03999, allocations: 4 kB / 293.7 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.03999, allocations: 0 / 293.7 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.04, allocations: 0 / 293.7 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.04023, allocations: 99.8 kB / 293.8 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.04023, allocations: 0 / 293.8 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.04031, allocations: 23.97 kB / 293.8 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.04033, allocations: 19.97 kB / 293.8 MB, free: 216 kB / 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.612e-05/0.04039, allocations: 109.8 kB / 294 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.04042, allocations: 15.94 kB / 294 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.04067, allocations: 192.8 kB / 294.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.04068, allocations: 4 kB / 294.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.04068, allocations: 0 / 294.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.04068, allocations: 3.984 kB / 294.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.04134, allocations: 474.1 kB / 294.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.04134, allocations: 0 / 294.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.04149, allocations: 83.91 kB / 294.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.0415, allocations: 7.953 kB / 294.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.0415, allocations: 4 kB / 294.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.04151, allocations: 7.984 kB / 294.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.04152, allocations: 8 kB / 294.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.04152, allocations: 0 / 294.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.04168, allocations: 225 kB / 295 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.04169, allocations: 4 kB / 295 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.04177, allocations: 31.97 kB / 295 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.04179, allocations: 23.84 kB / 295 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.04181, allocations: 7.984 kB / 295 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.035e-05/0.04182, allocations: 4.859 kB / 295 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04182, allocations: 0 / 295 MB, free: 14.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007923/0.04261, allocations: 487.5 kB / 295.5 MB, free: 14.48 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.001441/0.04405, allocations: 291.8 kB / 295.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.04423, allocations: 127.5 kB / 295.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.04424, allocations: 8 kB / 295.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.04432, allocations: 72.75 kB / 296 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.04446, allocations: 35.97 kB / 296 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.04485, allocations: 274.7 kB / 296.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.04489, allocations: 71.78 kB / 296.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.04499, allocations: 53.33 kB / 296.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.04511, allocations: 79.33 kB / 296.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.04511, allocations: 4 kB / 296.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.2446/0.2897, allocations: 43.93 MB / 340.4 MB, free: 21.29 MB / 314.8 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.60981135442853]