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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 112.5 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2918/0.2918, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009706/0.0009707, allocations: 47.92 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2612, allocations: 60.81 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001632/0.2628, allocations: 0.5997 MB / 0.507 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006476/0.2635, allocations: 431.4 kB / 0.5074 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.2635, allocations: 4 kB / 0.5074 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.2635, allocations: 7.875 kB / 0.5074 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.849e-05/0.2636, allocations: 0 / 0.5074 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.2639, allocations: 101.6 kB / 0.5075 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.658e-05/0.264, allocations: 19.25 kB / 0.5075 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.264, allocations: 2.406 kB / 0.5075 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.264, allocations: 17.2 kB / 0.5075 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.2641, allocations: 15.83 kB / 0.5075 GB, free: 37.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2641, allocations: 5.344 kB / 0.5076 GB, free: 37.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.2643, allocations: 164.3 kB / 0.5077 GB, free: 37.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2644, allocations: 9.422 kB / 0.5077 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.2644, allocations: 11.47 kB / 0.5077 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2646, allocations: 127.8 kB / 0.5079 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2646, allocations: 3.328 kB / 0.5079 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2646, allocations: 1.094 kB / 0.5079 GB, free: 37.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2646, allocations: 0 / 0.5079 GB, free: 37.36 MB / 378.7 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.000329/0.2649, allocations: 367.1 kB / 0.5082 GB, free: 36.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.265, allocations: 17.66 kB / 0.5082 GB, free: 36.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.265, allocations: 3.062 kB / 0.5082 GB, free: 36.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.965e-05/0.2651, allocations: 170.7 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2651, allocations: 1.562 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.2652, allocations: 3.844 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2653, allocations: 53.09 kB / 0.5084 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2653, allocations: 6.812 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.2653, allocations: 3.281 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2653, allocations: 0 / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.2654, allocations: 31.64 kB / 0.5085 GB, free: 36.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.2655, allocations: 169.1 kB / 0.5086 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2657, allocations: 55.27 kB / 0.5087 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.2657, allocations: 30.11 kB / 0.5087 GB, free: 36.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.266, allocations: 106.5 kB / 0.5088 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.266, allocations: 41.31 kB / 0.5089 GB, free: 36.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.266, allocations: 0 / 0.5089 GB, free: 36.32 MB / 378.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1531/0.4191, allocations: 6.376 MB / 0.5151 GB, free: 35.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4192, allocations: 53.81 kB / 0.5151 GB, free: 35.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.4192, allocations: 102.6 kB / 0.5152 GB, free: 35.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.4193, allocations: 28.52 kB / 0.5153 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.4193, allocations: 84.14 kB / 0.5154 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.4194, allocations: 65.84 kB / 0.5154 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.4195, allocations: 89.44 kB / 0.5155 GB, free: 35.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.4196, allocations: 321.6 kB / 0.5158 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.4201, allocations: 230.3 kB / 0.516 GB, free: 34.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.4205, allocations: 231.1 kB / 0.5162 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.4224, allocations: 0.556 MB / 0.5168 GB, free: 34.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4224, allocations: 0 / 0.5168 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0016/0.424, allocations: 0.6172 MB / 0.5174 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4241, allocations: 5.5 kB / 0.5174 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4241, allocations: 0 / 0.5174 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4241, allocations: 0 / 0.5174 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.4247, allocations: 105.9 kB / 0.5175 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4247, allocations: 0 / 0.5175 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.4251, allocations: 29.83 kB / 0.5175 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.4252, allocations: 33.17 kB / 0.5176 GB, free: 34.22 MB / 378.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 (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 9.774e-05/0.4253, allocations: 124.7 kB / 0.5177 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.4254, allocations: 9.656 kB / 0.5177 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4273, allocations: 0.7256 MB / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4273, allocations: 10.83 kB / 0.5184 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4273, allocations: 0 / 0.5184 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4273, allocations: 0 / 0.5184 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.4309, allocations: 1.171 MB / 0.5195 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4309, allocations: 2.5 kB / 0.5196 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.4314, allocations: 95.2 kB / 0.5196 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4314, allocations: 6.781 kB / 0.5196 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.4314, allocations: 31.52 kB / 0.5197 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4314, allocations: 10.53 kB / 0.5197 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4315, allocations: 3.375 kB / 0.5197 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.4335, allocations: 1.303 MB / 0.521 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.4335, allocations: 89.77 kB / 0.5211 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.4336, allocations: 6.875 kB / 0.5211 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.434, allocations: 27.58 kB / 0.5211 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.434, allocations: 20.95 kB / 0.5211 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.4341, allocations: 30.92 kB / 0.5211 GB, free: 32.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.112e-05/0.4341, allocations: 86.28 kB / 0.5212 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4341, allocations: 0 / 0.5212 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001513/0.4356, allocations: 0.646 MB / 0.5218 GB, free: 32.11 MB / 378.7 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.002926/0.4385, allocations: 286.4 kB / 0.5221 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.4396, allocations: 458.1 kB / 0.5226 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4396, allocations: 0 / 0.5226 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.44, allocations: 197.6 kB / 0.5227 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4403, allocations: 8.906 kB / 0.5228 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4425, allocations: 0.7098 MB / 0.5234 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.4426, allocations: 0.6965 MB / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000506/0.4431, allocations: 127.3 kB / 0.5242 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.4434, allocations: 88.78 kB / 0.5243 GB, free: 30.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4434, allocations: 0 / 0.5243 GB, free: 30.62 MB / 378.7 MB Notification: Performance of Templates: time 0.05732/0.5007, allocations: 57.24 MB / 0.5802 GB, free: 3.973 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches