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.001347/0.001347, allocations: 119.2 kB / 17.09 MB, free: 5.965 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.00128/0.00128, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.398/1.398, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2088/0.2088, allocations: 43.52 MB / 314.8 MB, free: 452 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.001451/0.001451, allocations: 76.36 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1083, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001811/0.1101, allocations: 0.5439 MB / 0.4891 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.1109, allocations: 411.2 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.111, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.111, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.1111, allocations: 7.938 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1116, allocations: 139.5 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.1117, allocations: 27.97 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.1117, allocations: 0 / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.1118, allocations: 15.92 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.1118, allocations: 15.92 kB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1119, allocations: 4 kB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.1121, allocations: 163.8 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.1122, allocations: 7.922 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.1122, allocations: 15.94 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1124, allocations: 127.8 kB / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1124, allocations: 0 / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1124, allocations: 0 / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1124, allocations: 3.938 kB / 0.49 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.0004442/0.1129, allocations: 367.3 kB / 0.4903 GB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1129, allocations: 11.97 kB / 0.4903 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.113, allocations: 4.938 kB / 0.4903 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1131, allocations: 160.4 kB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1131, allocations: 12.38 kB / 0.4905 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1132, allocations: 4.281 kB / 0.4905 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1133, allocations: 62.17 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1133, allocations: 3.938 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1133, allocations: 0 / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1134, allocations: 0 / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.1134, allocations: 27.98 kB / 0.4906 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1136, allocations: 173.6 kB / 0.4908 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1138, allocations: 58.59 kB / 0.4908 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.1139, allocations: 24.84 kB / 0.4908 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.1142, allocations: 105.1 kB / 0.4909 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1142, allocations: 38.56 kB / 0.491 GB, free: 9.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1142, allocations: 0 / 0.491 GB, free: 9.125 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.153/0.2672, allocations: 6.395 MB / 0.4972 GB, free: 2.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.2673, allocations: 55.41 kB / 0.4973 GB, free: 2.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.2674, allocations: 101.8 kB / 0.4974 GB, free: 2.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.2675, allocations: 29.7 kB / 0.4974 GB, free: 2.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2675, allocations: 84.14 kB / 0.4975 GB, free: 2.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.2676, allocations: 63.09 kB / 0.4975 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.2678, allocations: 90 kB / 0.4976 GB, free: 2.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2679, allocations: 326.8 kB / 0.4979 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.2685, allocations: 227.8 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.269, allocations: 227.8 kB / 0.4984 GB, free: 1.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.2711, allocations: 0.5551 MB / 0.4989 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2712, allocations: 7.938 kB / 0.4989 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001826/0.273, allocations: 0.6136 MB / 0.4995 GB, free: 284 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.273, allocations: 8 kB / 0.4995 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.273, allocations: 0 / 0.4995 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2731, allocations: 0 / 0.4995 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.2737, allocations: 107.8 kB / 0.4996 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2738, allocations: 0 / 0.4996 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.2742, allocations: 27.95 kB / 0.4997 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.2743, allocations: 32.2 kB / 0.4997 GB, free: 108 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.0001796/0.2745, allocations: 125.7 kB / 0.4998 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.2745, allocations: 11.84 kB / 0.4998 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.2767, allocations: 0.728 MB / 0.5005 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2767, allocations: 4 kB / 0.5005 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2767, allocations: 0 / 0.5005 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2767, allocations: 0 / 0.5005 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.2807, allocations: 1.169 MB / 0.5017 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2808, allocations: 4 kB / 0.5017 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.2813, allocations: 103.8 kB / 0.5018 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.2813, allocations: 7.938 kB / 0.5018 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.2814, allocations: 23.95 kB / 0.5018 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.2814, allocations: 4 kB / 0.5018 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2814, allocations: 4 kB / 0.5018 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.2831, allocations: 0.5783 MB / 0.5024 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.2832, allocations: 89.02 kB / 0.5025 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.2833, allocations: 4 kB / 0.5025 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.2837, allocations: 27.95 kB / 0.5025 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.2837, allocations: 15.92 kB / 0.5025 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.2838, allocations: 35.95 kB / 0.5025 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.2838, allocations: 79.28 kB / 0.5026 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2838, allocations: 0 / 0.5026 GB, free: 12.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001742/0.2856, allocations: 0.6483 MB / 0.5032 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.003376/0.289, allocations: 291 kB / 0.5035 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2902, allocations: 462.9 kB / 0.504 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2902, allocations: 0 / 0.504 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.2908, allocations: 199.7 kB / 0.5042 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.0003131/0.2911, allocations: 8.375 kB / 0.5042 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2935, allocations: 0.5429 MB / 0.5047 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2937, allocations: 0.6926 MB / 0.5054 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.2941, allocations: 95.28 kB / 0.5055 GB, free: 9.941 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2941, allocations: 0 / 0.5055 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Templates: time 0.02418/0.3183, allocations: 15.96 MB / 0.521 GB, free: 9.953 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/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