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.002042/0.002042, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002467/0.002467, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2427/0.2427, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 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 0.002082/0.002082, allocations: 63.89 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 66.04 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001829/0.366, allocations: 0.542 MB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.3669, allocations: 410.7 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.3669, allocations: 0 / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.3669, allocations: 0 / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.6e-05/0.367, allocations: 3.938 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.3675, allocations: 151.4 kB / 0.5622 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.3676, allocations: 27.92 kB / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.3676, allocations: 0 / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.3677, allocations: 23.91 kB / 0.5622 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.3677, allocations: 19.92 kB / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3677, allocations: 0 / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.368, allocations: 163.8 kB / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.368, allocations: 7.969 kB / 0.5624 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.3681, allocations: 15.88 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3683, allocations: 130.2 kB / 0.5626 GB, free: 2.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3683, allocations: 0 / 0.5626 GB, free: 2.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3683, allocations: 4 kB / 0.5626 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3684, allocations: 0 / 0.5626 GB, free: 2.961 MB / 398.1 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.0004393/0.3688, allocations: 290 kB / 0.5628 GB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3688, allocations: 8.031 kB / 0.5628 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3689, allocations: 12.83 kB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.369, allocations: 110.5 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.369, allocations: 8.375 kB / 0.563 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.369, allocations: 8.375 kB / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3692, allocations: 66.22 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3692, allocations: 11.88 kB / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3692, allocations: 0 / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3692, allocations: 0 / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3694, allocations: 51.89 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.3696, allocations: 140.7 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.3697, allocations: 78.55 kB / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.3698, allocations: 24.84 kB / 0.5633 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.3701, allocations: 27.97 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3701, allocations: 34.56 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.3701, allocations: 0 / 0.5634 GB, free: 1.984 MB / 398.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1298/0.4999, allocations: 5.616 MB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4999, allocations: 63.2 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.5, allocations: 93.8 kB / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.5001, allocations: 33.7 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.5001, allocations: 84.5 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5002, allocations: 83.22 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.5004, allocations: 61.8 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5005, allocations: 330.8 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.5009, allocations: 107.9 kB / 0.5697 GB, free: 11.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5012, allocations: 119.5 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.5027, allocations: 320.6 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5027, allocations: 0 / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001193/0.5039, allocations: 364 kB / 0.5705 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5039, allocations: 4 kB / 0.5705 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5039, allocations: 0 / 0.5705 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.5039, allocations: 4 kB / 0.5705 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.5043, allocations: 71.92 kB / 0.5705 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5043, allocations: 4 kB / 0.5705 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5045, allocations: 31.95 kB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.5045, allocations: 19.92 kB / 0.5706 GB, free: 10.52 MB / 414.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 (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.0001316/0.5047, allocations: 121.8 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.5047, allocations: 7.953 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.5062, allocations: 425.9 kB / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.5062, allocations: 4 kB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5062, allocations: 4 kB / 0.5711 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5062, allocations: 0 / 0.5711 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.5085, allocations: 0.7503 MB / 0.5719 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5085, allocations: 7.938 kB / 0.5719 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.5088, allocations: 75.98 kB / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5088, allocations: 0 / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.5088, allocations: 15.98 kB / 0.572 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5088, allocations: 4 kB / 0.572 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5088, allocations: 3.938 kB / 0.572 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.51, allocations: 420.7 kB / 0.5724 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.51, allocations: 15.94 kB / 0.5724 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.5101, allocations: 0 / 0.5724 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5102, allocations: 31.97 kB / 0.5724 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.5103, allocations: 11.97 kB / 0.5724 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.5103, allocations: 19.98 kB / 0.5724 GB, free: 8.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.171e-05/0.5104, allocations: 75.28 kB / 0.5725 GB, free: 8.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5104, allocations: 0 / 0.5725 GB, free: 8.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001795/0.5122, allocations: 0.6362 MB / 0.5731 GB, free: 7.809 MB / 414.1 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.002947/0.5151, allocations: 298.6 kB / 0.5734 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008319/0.5159, allocations: 257.7 kB / 0.5737 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5159, allocations: 4 kB / 0.5737 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.5163, allocations: 129.8 kB / 0.5738 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5166, allocations: 11.94 kB / 0.5738 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5176, allocations: 323.5 kB / 0.5741 GB, free: 6.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.5179, allocations: 0.7009 MB / 0.5748 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.5182, allocations: 73.08 kB / 0.5749 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.5183, allocations: 47.39 kB / 0.5749 GB, free: 5.918 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5183, allocations: 4 kB / 0.5749 GB, free: 5.914 MB / 414.1 MB Notification: Performance of Templates: time 0.07993/0.5982, allocations: 54.01 MB / 0.6277 GB, free: 15.88 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.13999731792137]