Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 170.8 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 94.73 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3028/0.3028, allocations: 43.66 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 15.88 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09338, allocations: 58.85 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005384/0.09396, allocations: 268.4 kB / 491.4 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.09474, allocations: 0.6419 MB / 492.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.09476, allocations: 0 / 492.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.09478, allocations: 0 / 492.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.09482, allocations: 4 kB / 492.1 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.09517, allocations: 103.8 kB / 492.2 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.09523, allocations: 23.92 kB / 492.2 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.09528, allocations: 0 / 492.2 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.09531, allocations: 15.94 kB / 492.2 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.09536, allocations: 19.91 kB / 492.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.09538, allocations: 0 / 492.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.09561, allocations: 151.8 kB / 492.4 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.09563, allocations: 15.92 kB / 492.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.09568, allocations: 41.62 kB / 492.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.09587, allocations: 128 kB / 492.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.09588, allocations: 0 / 492.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09589, allocations: 0 / 492.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.0959, allocations: 0 / 492.6 MB, free: 8.355 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.0003608/0.09626, allocations: 359.4 kB / 492.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.0963, allocations: 8.031 kB / 492.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.09634, allocations: 8.844 kB / 492.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.09646, allocations: 172.3 kB / 493.1 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.09649, allocations: 4.375 kB / 493.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.09651, allocations: 4.375 kB / 493.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.09663, allocations: 62.17 kB / 493.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.09665, allocations: 7.844 kB / 493.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.09666, allocations: 4 kB / 493.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.09667, allocations: 4 kB / 493.2 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.09674, allocations: 23.98 kB / 493.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.0969, allocations: 161.7 kB / 493.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.09709, allocations: 62.58 kB / 493.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.09715, allocations: 28.84 kB / 493.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.09741, allocations: 113.1 kB / 493.6 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.09745, allocations: 34.56 kB / 493.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.09745, allocations: 0 / 493.6 MB, free: 7.141 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.1238/0.2213, allocations: 6.623 MB / 0.4885 GB, free: 472 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2213, allocations: 51.41 kB / 0.4885 GB, free: 408 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.2214, allocations: 109.8 kB / 0.4886 GB, free: 288 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2215, allocations: 25.7 kB / 0.4887 GB, free: 256 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.2215, allocations: 84.14 kB / 0.4887 GB, free: 168 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.2216, allocations: 67.02 kB / 0.4888 GB, free: 100 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2216, allocations: 0 / 0.4888 GB, free: 100 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.158/0.3796, allocations: 326.6 kB / 0.4891 GB, free: 41.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.3804, allocations: 238 kB / 0.4894 GB, free: 41.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.381, allocations: 247.8 kB / 0.4896 GB, free: 41.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.3831, allocations: 0.5864 MB / 0.4902 GB, free: 41.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3831, allocations: 1.781 kB / 0.4902 GB, free: 41.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001827/0.3849, allocations: 0.632 MB / 0.4908 GB, free: 41.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.385, allocations: 6.219 kB / 0.4908 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.385, allocations: 0 / 0.4908 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.385, allocations: 5.609 kB / 0.4908 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.3857, allocations: 112.5 kB / 0.4909 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3857, allocations: 1.375 kB / 0.4909 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.3861, allocations: 35.5 kB / 0.4909 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.3862, allocations: 33.28 kB / 0.491 GB, free: 41.62 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 0.000126/0.3863, allocations: 122.3 kB / 0.4911 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.3864, allocations: 12.59 kB / 0.4911 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.3886, allocations: 0.7533 MB / 0.4918 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3886, allocations: 9.281 kB / 0.4918 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3886, allocations: 0.9375 kB / 0.4918 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3886, allocations: 1.359 kB / 0.4918 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.3925, allocations: 1.229 MB / 0.493 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3925, allocations: 1.75 kB / 0.493 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.3931, allocations: 107.7 kB / 0.4931 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3931, allocations: 2.469 kB / 0.4931 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.3932, allocations: 28.19 kB / 0.4932 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3932, allocations: 2.719 kB / 0.4932 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3932, allocations: 5.281 kB / 0.4932 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3948, allocations: 0.6139 MB / 0.4938 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.3948, allocations: 86.14 kB / 0.4939 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.3949, allocations: 9.781 kB / 0.4939 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.3953, allocations: 34.2 kB / 0.4939 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3954, allocations: 22 kB / 0.4939 GB, free: 40.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.3954, allocations: 32.05 kB / 0.494 GB, free: 40.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.812e-05/0.3955, allocations: 81.58 kB / 0.494 GB, free: 40.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3955, allocations: 0 / 0.494 GB, free: 40.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001845/0.3973, allocations: 0.6461 MB / 0.4947 GB, free: 40.7 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.003017/0.4003, allocations: 318.8 kB / 0.495 GB, free: 40.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.4015, allocations: 477.1 kB / 0.4954 GB, free: 40.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4016, allocations: 0 / 0.4954 GB, free: 40.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.4021, allocations: 220.1 kB / 0.4956 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4024, allocations: 14.38 kB / 0.4956 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.4047, allocations: 0.5915 MB / 0.4962 GB, free: 40.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4048, allocations: 0.7012 MB / 0.4969 GB, free: 39.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.4054, allocations: 121.4 kB / 0.497 GB, free: 39.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.4056, allocations: 90.05 kB / 0.4971 GB, free: 39.6 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4057, allocations: 0 / 0.4971 GB, free: 39.6 MB / 378.7 MB Notification: Performance of Templates: time 0.06039/0.4661, allocations: 57.05 MB / 0.5528 GB, free: 10.42 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches