Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001666/0.001666, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 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.00199/0.00199, allocations: 165.6 kB / 23.76 MB, free: 4.195 MB / 14.72 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.322/1.322, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.1 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.1977/0.1977, allocations: 32.39 MB / 270.1 MB, free: 2.707 MB / 254.1 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 67.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1089, allocations: 61.04 MB / 468.8 MB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00177/0.1107, allocations: 0.5377 MB / 469.3 MB, free: 7.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.1115, allocations: 380.7 kB / 469.7 MB, free: 7.414 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.1115, allocations: 0 / 469.7 MB, free: 7.414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.1115, allocations: 3.938 kB / 469.7 MB, free: 7.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.891e-05/0.1116, allocations: 7.938 kB / 469.7 MB, free: 7.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.1121, allocations: 135.6 kB / 469.8 MB, free: 7.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.1122, allocations: 15.98 kB / 469.9 MB, free: 7.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1122, allocations: 8 kB / 469.9 MB, free: 7.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.1123, allocations: 15.92 kB / 469.9 MB, free: 7.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.1123, allocations: 19.91 kB / 469.9 MB, free: 7.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1123, allocations: 0 / 469.9 MB, free: 7.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.1126, allocations: 135.8 kB / 470 MB, free: 7.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.1126, allocations: 15.92 kB / 470 MB, free: 7.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1126, allocations: 15.92 kB / 470.1 MB, free: 7.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1129, allocations: 115.7 kB / 470.2 MB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1129, allocations: 0 / 470.2 MB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1129, allocations: 0 / 470.2 MB, free: 6.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1129, allocations: 0 / 470.2 MB, free: 6.934 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004399/0.1133, allocations: 298 kB / 470.5 MB, free: 6.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1133, allocations: 8.031 kB / 470.5 MB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1134, allocations: 8.891 kB / 470.5 MB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1135, allocations: 114.4 kB / 470.6 MB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1135, allocations: 8.375 kB / 470.6 MB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.1135, allocations: 8.375 kB / 470.6 MB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1136, allocations: 50.25 kB / 470.7 MB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1137, allocations: 3.938 kB / 470.7 MB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1137, allocations: 7.984 kB / 470.7 MB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1137, allocations: 7.938 kB / 470.7 MB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.1137, allocations: 23.92 kB / 470.7 MB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1139, allocations: 125.2 kB / 470.8 MB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1141, allocations: 54.55 kB / 470.9 MB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.1142, allocations: 16.86 kB / 470.9 MB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.1144, allocations: 35.95 kB / 470.9 MB, free: 6.078 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1145, allocations: 38.78 kB / 471 MB, free: 6.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1145, allocations: 0 / 471 MB, free: 6.031 MB / 446.1 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.353/0.4674, allocations: 6.361 MB / 477.3 MB, free: 49.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4674, allocations: 55.09 kB / 477.4 MB, free: 48.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.4675, allocations: 100.9 kB / 477.5 MB, free: 48.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.4675, allocations: 32.75 kB / 477.5 MB, free: 48.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.4676, allocations: 83.2 kB / 477.6 MB, free: 48.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.4676, allocations: 71.62 kB / 477.7 MB, free: 48.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.4678, allocations: 86.83 kB / 477.7 MB, free: 48.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.4678, allocations: 326.3 kB / 478.1 MB, free: 48.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.4683, allocations: 229.5 kB / 478.3 MB, free: 48.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.4688, allocations: 231.6 kB / 478.5 MB, free: 48.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.4707, allocations: 0.5614 MB / 479.1 MB, free: 48.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4707, allocations: 0 / 479.1 MB, free: 48.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001716/0.4724, allocations: 0.6051 MB / 479.7 MB, free: 48.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4724, allocations: 6.75 kB / 479.7 MB, free: 48.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4724, allocations: 0 / 479.7 MB, free: 48.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4725, allocations: 3.344 kB / 479.7 MB, free: 48.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.4731, allocations: 108.2 kB / 479.8 MB, free: 48.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4731, allocations: 3.219 kB / 479.8 MB, free: 48.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.4736, allocations: 33.58 kB / 479.8 MB, free: 48.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.4736, allocations: 34.31 kB / 479.9 MB, free: 48.3 MB / 446.1 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 (19): * Single equations (assignments): 19 * 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.0001122/0.4738, allocations: 123.8 kB / 480 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.4738, allocations: 7.016 kB / 480 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.4758, allocations: 0.7253 MB / 480.7 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4758, allocations: 0 / 480.7 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4758, allocations: 6.781 kB / 480.7 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4758, allocations: 0 / 480.7 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.4809, allocations: 1.046 MB / 481.8 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.4809, allocations: 5.688 kB / 481.8 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.4817, allocations: 106 kB / 481.9 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.4817, allocations: 0 / 481.9 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.4818, allocations: 29.58 kB / 481.9 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.4818, allocations: 0 / 481.9 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4818, allocations: 6.656 kB / 481.9 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.4843, allocations: 0.5775 MB / 482.5 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.4843, allocations: 17.08 kB / 482.5 MB, free: 47.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.4844, allocations: 3.156 kB / 482.5 MB, free: 47.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.4851, allocations: 26.97 kB / 482.5 MB, free: 47.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4851, allocations: 20.31 kB / 482.6 MB, free: 47.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.4852, allocations: 31.81 kB / 482.6 MB, free: 47.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.542e-05/0.4852, allocations: 88.91 kB / 482.7 MB, free: 47.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4852, allocations: 0 / 482.7 MB, free: 47.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002454/0.4877, allocations: 0.6492 MB / 483.3 MB, free: 47.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.004449/0.4921, allocations: 290.8 kB / 483.6 MB, free: 47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4939, allocations: 444.1 kB / 484 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4939, allocations: 0.875 kB / 484 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.4947, allocations: 190 kB / 484.2 MB, free: 46.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.4952, allocations: 20.16 kB / 484.3 MB, free: 46.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.4988, allocations: 0.5213 MB / 484.8 MB, free: 46.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.894e-05/0.4988, allocations: 82.91 kB / 484.9 MB, free: 46.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006321/0.4995, allocations: 126.8 kB / 485 MB, free: 46.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.4999, allocations: 90.34 kB / 485.1 MB, free: 46.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4999, allocations: 0 / 485.1 MB, free: 46.52 MB / 446.1 MB Notification: Performance of Templates: time 0.07917/0.5791, allocations: 58.39 MB / 0.5307 GB, free: 16.82 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.8050363439833745]