Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001382/0.001382, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001578/0.001578, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.427/1.427, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.202/0.202, allocations: 32.81 MB / 294.1 MB, free: 4 kB / 270.1 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.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00213/0.00213, allocations: 59.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2978, allocations: 65.45 MB / 0.4941 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00141/0.2992, allocations: 0.5266 MB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005795/0.2998, allocations: 371.3 kB / 0.495 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.2998, allocations: 0 / 0.495 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.2998, allocations: 4 kB / 0.495 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.482e-05/0.2998, allocations: 7.062 kB / 0.495 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.3002, allocations: 147.3 kB / 0.4952 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.3003, allocations: 23.53 kB / 0.4952 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.3003, allocations: 3.422 kB / 0.4952 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.3004, allocations: 10.12 kB / 0.4952 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.3004, allocations: 21.33 kB / 0.4952 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.3004, allocations: 0 / 0.4952 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.3006, allocations: 138.8 kB / 0.4954 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3006, allocations: 10.53 kB / 0.4954 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.3006, allocations: 15.14 kB / 0.4954 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3008, allocations: 124.7 kB / 0.4955 GB, free: 30.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3008, allocations: 0 / 0.4955 GB, free: 30.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3008, allocations: 0 / 0.4955 GB, free: 30.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3008, allocations: 0 / 0.4955 GB, free: 30.64 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.0003046/0.3011, allocations: 294.6 kB / 0.4958 GB, free: 30.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.3011, allocations: 9.094 kB / 0.4958 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3012, allocations: 3.938 kB / 0.4958 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.016e-05/0.3012, allocations: 120.8 kB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3012, allocations: 384 / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3013, allocations: 3.5 kB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/0.3014, allocations: 57.25 kB / 0.496 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3014, allocations: 7.125 kB / 0.496 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3014, allocations: 0 / 0.496 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3014, allocations: 0 / 0.496 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.3014, allocations: 26.16 kB / 0.496 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.3015, allocations: 116.6 kB / 0.4961 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3017, allocations: 53.05 kB / 0.4962 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.3018, allocations: 21.77 kB / 0.4962 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.302, allocations: 42.97 kB / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.302, allocations: 33.66 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.302, allocations: 0 / 0.4963 GB, free: 29.93 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.1457/0.4477, allocations: 6.391 MB / 0.5025 GB, free: 29.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.4477, allocations: 54.66 kB / 0.5025 GB, free: 29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.4478, allocations: 107.2 kB / 0.5026 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.4478, allocations: 25.7 kB / 0.5027 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.4478, allocations: 92 kB / 0.5028 GB, free: 28.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.4479, allocations: 63.42 kB / 0.5028 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.448, allocations: 84.91 kB / 0.5029 GB, free: 28.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.4481, allocations: 324.3 kB / 0.5032 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.4486, allocations: 226.1 kB / 0.5034 GB, free: 28.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.4491, allocations: 243.4 kB / 0.5037 GB, free: 28.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.4513, allocations: 0.5527 MB / 0.5042 GB, free: 28.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4513, allocations: 0 / 0.5042 GB, free: 28.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001824/0.4531, allocations: 0.608 MB / 0.5048 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4531, allocations: 6.031 kB / 0.5048 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4531, allocations: 0 / 0.5048 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4531, allocations: 4.547 kB / 0.5048 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.4538, allocations: 107.8 kB / 0.5049 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4538, allocations: 3 kB / 0.5049 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.4543, allocations: 30.81 kB / 0.5049 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.4544, allocations: 34.7 kB / 0.505 GB, free: 27.8 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.0001266/0.4545, allocations: 122.2 kB / 0.5051 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.4545, allocations: 9.984 kB / 0.5051 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4566, allocations: 0.7333 MB / 0.5058 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4566, allocations: 3 kB / 0.5058 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4566, allocations: 0 / 0.5058 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4566, allocations: 1.219 kB / 0.5058 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.4606, allocations: 1.044 MB / 0.5068 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4606, allocations: 3.312 kB / 0.5068 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.4612, allocations: 102.4 kB / 0.5069 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.4612, allocations: 6.969 kB / 0.5069 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.4612, allocations: 30.58 kB / 0.507 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4612, allocations: 3.719 kB / 0.507 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4612, allocations: 0 / 0.507 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.4629, allocations: 0.5829 MB / 0.5075 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.4629, allocations: 11.38 kB / 0.5076 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4629, allocations: 10.8 kB / 0.5076 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.4634, allocations: 27.05 kB / 0.5076 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.4634, allocations: 12.11 kB / 0.5076 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.4634, allocations: 27.48 kB / 0.5076 GB, free: 26.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.373e-05/0.4635, allocations: 84.3 kB / 0.5077 GB, free: 26.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4635, allocations: 4 kB / 0.5077 GB, free: 26.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001745/0.4652, allocations: 0.6461 MB / 0.5083 GB, free: 26.51 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.00281/0.468, allocations: 297.5 kB / 0.5086 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.4692, allocations: 441.3 kB / 0.509 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4692, allocations: 5.219 kB / 0.5091 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.4697, allocations: 198.4 kB / 0.5092 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.47, allocations: 12.81 kB / 0.5093 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4724, allocations: 0.5284 MB / 0.5098 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.4724, allocations: 78.34 kB / 0.5098 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.4728, allocations: 131.3 kB / 0.51 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.4731, allocations: 92.47 kB / 0.5101 GB, free: 25.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4731, allocations: 0 / 0.5101 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Templates: time 0.06946/0.5426, allocations: 58.38 MB / 0.5671 GB, free: 13.99 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.708260226994753]