Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007518/0.0007518, allocations: 92.92 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2876/0.2876, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003614, allocations: 16 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09646, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005714/0.09707, allocations: 260.4 kB / 491.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.0977, allocations: 389.9 kB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.09774, allocations: 0 / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.09777, allocations: 0 / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.309e-05/0.09781, allocations: 3.938 kB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.0982, allocations: 103.8 kB / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.09825, allocations: 23.92 kB / 491.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.0983, allocations: 4 kB / 491.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.09833, allocations: 11.92 kB / 491.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.09838, allocations: 23.91 kB / 491.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.0984, allocations: 4 kB / 491.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.09864, allocations: 151.8 kB / 491.8 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.09866, allocations: 3.984 kB / 491.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.0987, allocations: 41.58 kB / 491.8 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.09883, allocations: 83.88 kB / 491.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.09884, allocations: 0 / 491.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09885, allocations: 0 / 491.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.09886, allocations: 0 / 491.9 MB, free: 9.805 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.0004244/0.09929, allocations: 363.7 kB / 492.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.09934, allocations: 8.031 kB / 492.3 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.09937, allocations: 8.844 kB / 492.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.09948, allocations: 164.3 kB / 492.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.0995, allocations: 4.375 kB / 492.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.09953, allocations: 4.375 kB / 492.4 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.09964, allocations: 54.17 kB / 492.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.09966, allocations: 11.84 kB / 492.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.09968, allocations: 4 kB / 492.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.09969, allocations: 0 / 492.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.09976, allocations: 27.98 kB / 492.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.09994, allocations: 169.7 kB / 492.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1001, allocations: 54.59 kB / 492.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1002, allocations: 32.78 kB / 492.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.1005, allocations: 117.1 kB / 492.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1005, allocations: 34.56 kB / 492.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1005, allocations: 0 / 492.9 MB, free: 8.59 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.1195/0.22, allocations: 6.627 MB / 499.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.2201, allocations: 55.41 kB / 499.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.2201, allocations: 101.9 kB / 499.7 MB, free: 1.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.2202, allocations: 25.7 kB / 499.7 MB, free: 1.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.2202, allocations: 88.14 kB / 499.8 MB, free: 1.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.2203, allocations: 70.98 kB / 499.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.2204, allocations: 0 / 499.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2205, allocations: 318.8 kB / 0.4885 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.221, allocations: 247.8 kB / 0.4887 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.2216, allocations: 247.8 kB / 0.489 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.2236, allocations: 0.5936 MB / 0.4895 GB, free: 164 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2236, allocations: 4 kB / 0.4895 GB, free: 160 kB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.1613/0.3849, allocations: 0.6226 MB / 0.4902 GB, free: 41.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.3849, allocations: 4.906 kB / 0.4902 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3849, allocations: 2.859 kB / 0.4902 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.385, allocations: 0 / 0.4902 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.3856, allocations: 120.6 kB / 0.4903 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3856, allocations: 1.125 kB / 0.4903 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.3861, allocations: 33.77 kB / 0.4903 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.3861, allocations: 33.86 kB / 0.4903 GB, free: 41.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.3863, allocations: 118.4 kB / 0.4905 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.3863, allocations: 12.59 kB / 0.4905 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.3884, allocations: 0.7613 MB / 0.4912 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3885, allocations: 1.875 kB / 0.4912 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3885, allocations: 1.531 kB / 0.4912 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3885, allocations: 3.891 kB / 0.4912 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.3924, allocations: 1.219 MB / 0.4924 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3924, allocations: 3.25 kB / 0.4924 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3929, allocations: 104.4 kB / 0.4925 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.393, allocations: 2.719 kB / 0.4925 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.393, allocations: 27.7 kB / 0.4925 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.393, allocations: 6.688 kB / 0.4925 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.393, allocations: 6.531 kB / 0.4926 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3946, allocations: 0.616 MB / 0.4932 GB, free: 41.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3946, allocations: 85.25 kB / 0.4932 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.3947, allocations: 7.719 kB / 0.4932 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.3951, allocations: 35.38 kB / 0.4933 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3951, allocations: 17.33 kB / 0.4933 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.3952, allocations: 32.7 kB / 0.4933 GB, free: 40.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.3952, allocations: 87.38 kB / 0.4934 GB, free: 40.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3952, allocations: 0 / 0.4934 GB, free: 40.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001672/0.3969, allocations: 0.644 MB / 0.494 GB, free: 40.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00289/0.3998, allocations: 313.9 kB / 0.4943 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.4009, allocations: 482.1 kB / 0.4948 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.401, allocations: 1.375 kB / 0.4948 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.4015, allocations: 221.8 kB / 0.495 GB, free: 40.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4017, allocations: 9.781 kB / 0.495 GB, free: 40.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.4039, allocations: 0.6123 MB / 0.4956 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.404, allocations: 0.6975 MB / 0.4963 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.4043, allocations: 89.67 kB / 0.4964 GB, free: 39.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4043, allocations: 0 / 0.4964 GB, free: 39.78 MB / 378.7 MB Notification: Performance of Templates: time 0.02154/0.4259, allocations: 15.98 MB / 0.512 GB, free: 38.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches