Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.1 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 77.45 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001616/0.1224, allocations: 0.5296 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.1231, allocations: 417.5 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.1231, allocations: 0 / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1232, allocations: 4 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.1232, allocations: 7.938 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.1237, allocations: 131.6 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.1238, allocations: 31.91 kB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.1238, allocations: 0 / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1238, allocations: 11.94 kB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.1239, allocations: 19.91 kB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1239, allocations: 4 kB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.1242, allocations: 159.8 kB / 0.4892 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1242, allocations: 11.92 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.1242, allocations: 11.94 kB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1244, allocations: 131.7 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1244, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1244, allocations: 3.938 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1244, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.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.0003933/0.1248, allocations: 367.3 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1249, allocations: 11.97 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1249, allocations: 4.938 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.125, allocations: 160.4 kB / 0.4898 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.125, allocations: 12.38 kB / 0.4898 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1251, allocations: 4.281 kB / 0.4898 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1252, allocations: 66.16 kB / 0.4899 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1252, allocations: 3.938 kB / 0.4899 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1252, allocations: 0 / 0.4899 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1252, allocations: 0 / 0.4899 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.1253, allocations: 23.98 kB / 0.4899 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1255, allocations: 177.6 kB / 0.4901 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1257, allocations: 58.59 kB / 0.4902 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.1257, allocations: 24.84 kB / 0.4902 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.126, allocations: 105.1 kB / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.126, allocations: 38.56 kB / 0.4903 GB, free: 9.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.126, allocations: 0 / 0.4903 GB, free: 9.121 MB / 382.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.1213/0.2473, allocations: 6.382 MB / 0.4965 GB, free: 2.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.2474, allocations: 55.41 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2475, allocations: 101.8 kB / 0.4967 GB, free: 2.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.2476, allocations: 29.7 kB / 0.4967 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.2476, allocations: 80.14 kB / 0.4968 GB, free: 2.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.2477, allocations: 71.08 kB / 0.4969 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.248, allocations: 86.06 kB / 0.497 GB, free: 2.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2482, allocations: 326.8 kB / 0.4973 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.2487, allocations: 227.8 kB / 0.4975 GB, free: 1.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.2493, allocations: 231.8 kB / 0.4977 GB, free: 1.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.2514, allocations: 0.5624 MB / 0.4983 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2514, allocations: 3.938 kB / 0.4983 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001758/0.2532, allocations: 0.6104 MB / 0.4989 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2532, allocations: 11.75 kB / 0.4989 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2532, allocations: 0 / 0.4989 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2533, allocations: 0 / 0.4989 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.2539, allocations: 107.8 kB / 0.499 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.254, allocations: 0 / 0.499 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.2544, allocations: 31.95 kB / 0.499 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.2545, allocations: 35.94 kB / 0.499 GB, free: 104 kB / 382.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.0002502/0.2547, allocations: 117.7 kB / 0.4991 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.2548, allocations: 8.156 kB / 0.4991 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.2569, allocations: 0.7318 MB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2569, allocations: 4 kB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2569, allocations: 0 / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2569, allocations: 0 / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.2608, allocations: 1.172 MB / 0.501 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.2608, allocations: 4 kB / 0.501 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.2614, allocations: 107.7 kB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.2614, allocations: 4 kB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.2614, allocations: 23.95 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.2614, allocations: 4 kB / 0.5011 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2615, allocations: 4 kB / 0.5012 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.263, allocations: 0.5784 MB / 0.5017 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.2631, allocations: 89.02 kB / 0.5018 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.2631, allocations: 4 kB / 0.5018 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.2636, allocations: 27.95 kB / 0.5018 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.2636, allocations: 11.98 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.2637, allocations: 35.95 kB / 0.5019 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.2637, allocations: 79.28 kB / 0.502 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2637, allocations: 0 / 0.502 GB, free: 12.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001689/0.2654, allocations: 0.6483 MB / 0.5026 GB, free: 12.3 MB / 398.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.002737/0.2681, allocations: 290.9 kB / 0.5029 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.2693, allocations: 458.8 kB / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2693, allocations: 0 / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.2698, allocations: 203.7 kB / 0.5035 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2701, allocations: 8.375 kB / 0.5035 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.2723, allocations: 0.5139 MB / 0.504 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2726, allocations: 0.6965 MB / 0.5047 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.273, allocations: 129.1 kB / 0.5048 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.2733, allocations: 91.28 kB / 0.5049 GB, free: 9.852 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2733, allocations: 0 / 0.5049 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Templates: time 0.3044/0.5777, allocations: 57.4 MB / 0.561 GB, free: 21.73 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches