Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, 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.285/1.285, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.00097/0.00097, allocations: 91.88 kB / 291.8 MB, free: 10.96 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.3274/0.3274, allocations: 44.12 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009906/0.0009907, allocations: 55.92 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2859, allocations: 60.8 MB / 0.5064 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001621/0.2875, allocations: 0.5968 MB / 0.507 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.2881, allocations: 399.1 kB / 0.5074 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.2882, allocations: 0 / 0.5074 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.2882, allocations: 7.875 kB / 0.5074 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.2882, allocations: 0 / 0.5074 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.2885, allocations: 68.94 kB / 0.5074 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.2886, allocations: 24.22 kB / 0.5074 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.2886, allocations: 2.812 kB / 0.5075 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.2886, allocations: 21.11 kB / 0.5075 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.2887, allocations: 14.09 kB / 0.5075 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2887, allocations: 2.875 kB / 0.5075 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.2889, allocations: 114 kB / 0.5076 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2889, allocations: 13.47 kB / 0.5076 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.2889, allocations: 11.16 kB / 0.5076 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2891, allocations: 95.56 kB / 0.5077 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2891, allocations: 3.531 kB / 0.5077 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2891, allocations: 0 / 0.5077 GB, free: 37.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.2891, allocations: 0 / 0.5077 GB, free: 37.73 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.0003636/0.2895, allocations: 373.2 kB / 0.5081 GB, free: 37.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2895, allocations: 8.688 kB / 0.5081 GB, free: 37.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2896, allocations: 3.969 kB / 0.5081 GB, free: 37.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.2897, allocations: 171.2 kB / 0.5082 GB, free: 37.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2897, allocations: 3.312 kB / 0.5082 GB, free: 37.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.2897, allocations: 7.219 kB / 0.5083 GB, free: 37.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.2898, allocations: 49.03 kB / 0.5083 GB, free: 37.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2898, allocations: 192 / 0.5083 GB, free: 37.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2898, allocations: 7.938 kB / 0.5083 GB, free: 37.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2899, allocations: 10.84 kB / 0.5083 GB, free: 37.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.2899, allocations: 26.17 kB / 0.5083 GB, free: 37.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.2901, allocations: 162.9 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2903, allocations: 55.19 kB / 0.5086 GB, free: 36.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.2903, allocations: 32.17 kB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.2906, allocations: 108.4 kB / 0.5087 GB, free: 36.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.2906, allocations: 31.94 kB / 0.5087 GB, free: 36.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.2906, allocations: 0 / 0.5087 GB, free: 36.7 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.04203/0.3326, allocations: 2.581 MB / 0.5112 GB, free: 36.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3327, allocations: 54.28 kB / 0.5113 GB, free: 35.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.3328, allocations: 106.9 kB / 0.5114 GB, free: 35.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3328, allocations: 32.55 kB / 0.5114 GB, free: 35.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.3328, allocations: 80.14 kB / 0.5115 GB, free: 35.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.3329, allocations: 66.33 kB / 0.5116 GB, free: 35.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.333, allocations: 57.61 kB / 0.5116 GB, free: 35.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.333, allocations: 322.3 kB / 0.5119 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.3334, allocations: 171.1 kB / 0.5121 GB, free: 35.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3337, allocations: 185.4 kB / 0.5123 GB, free: 35.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.3346, allocations: 409.7 kB / 0.5127 GB, free: 35.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3346, allocations: 0 / 0.5127 GB, free: 35.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009421/0.3356, allocations: 467.5 kB / 0.5131 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3356, allocations: 5.969 kB / 0.5131 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3356, allocations: 0 / 0.5131 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3356, allocations: 3.281 kB / 0.5131 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.336, allocations: 69.03 kB / 0.5132 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.336, allocations: 3.938 kB / 0.5132 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3362, allocations: 22.11 kB / 0.5132 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.3363, allocations: 18.2 kB / 0.5132 GB, free: 34.85 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 8.839e-05/0.3364, allocations: 123.7 kB / 0.5133 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3364, allocations: 9.75 kB / 0.5133 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.3376, allocations: 0.5363 MB / 0.5139 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3376, allocations: 2.625 kB / 0.5139 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3376, allocations: 0.75 kB / 0.5139 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3376, allocations: 6.109 kB / 0.5139 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3396, allocations: 0.8931 MB / 0.5148 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3396, allocations: 2.938 kB / 0.5148 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.3399, allocations: 69.88 kB / 0.5148 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3399, allocations: 2.906 kB / 0.5148 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.34, allocations: 18.97 kB / 0.5148 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.34, allocations: 7.188 kB / 0.5148 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.34, allocations: 2.906 kB / 0.5149 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3412, allocations: 1.13 MB / 0.516 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.3413, allocations: 86.81 kB / 0.516 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3413, allocations: 3.719 kB / 0.516 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3415, allocations: 25.09 kB / 0.5161 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3415, allocations: 24.19 kB / 0.5161 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.3416, allocations: 16.78 kB / 0.5161 GB, free: 33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.3416, allocations: 79.59 kB / 0.5162 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3416, allocations: 4 kB / 0.5162 GB, free: 32.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009333/0.3426, allocations: 315 kB / 0.5165 GB, free: 32.9 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.001281/0.3439, allocations: 235 kB / 0.5167 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.3446, allocations: 338.2 kB / 0.517 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3446, allocations: 0 / 0.517 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.3449, allocations: 145.3 kB / 0.5172 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3452, allocations: 9.031 kB / 0.5172 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3464, allocations: 0.596 MB / 0.5178 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.3465, allocations: 0.6992 MB / 0.5184 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003362/0.3468, allocations: 93.45 kB / 0.5185 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.347, allocations: 50.02 kB / 0.5186 GB, free: 31.48 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.347, allocations: 0 / 0.5186 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Templates: time 0.02273/0.3698, allocations: 17.77 MB / 0.5359 GB, free: 27.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches