Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 113.1 kB / 17.05 MB, free: 6.008 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.001602/0.001602, allocations: 192.5 kB / 17.98 MB, free: 5.098 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.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2048/0.2048, allocations: 43.53 MB / 314.7 MB, free: 468 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.001425/0.001425, allocations: 67.91 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001533/0.1072, allocations: 0.5561 MB / 0.489 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.1079, allocations: 403.4 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.108, allocations: 0 / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.108, allocations: 3.938 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.348e-05/0.1081, allocations: 4 kB / 0.4894 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1085, allocations: 147.5 kB / 0.4896 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.1086, allocations: 19.98 kB / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.1087, allocations: 7.984 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.1087, allocations: 19.92 kB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.1088, allocations: 15.92 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1088, allocations: 4 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.109, allocations: 159.8 kB / 0.4898 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1091, allocations: 19.92 kB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1091, allocations: 15.92 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1093, allocations: 127.7 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1093, allocations: 0 / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1093, allocations: 0 / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1093, allocations: 0 / 0.4899 GB, free: 10.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004069/0.1097, allocations: 367.4 kB / 0.4903 GB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1098, allocations: 12.02 kB / 0.4903 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.1098, allocations: 8.844 kB / 0.4903 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.1099, allocations: 164.4 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1099, allocations: 8.312 kB / 0.4905 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.11, allocations: 8.375 kB / 0.4905 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1101, allocations: 62.23 kB / 0.4905 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1101, allocations: 15.91 kB / 0.4905 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1102, allocations: 0 / 0.4905 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1102, allocations: 0 / 0.4905 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.1102, allocations: 43.97 kB / 0.4906 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1104, allocations: 177.5 kB / 0.4908 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1106, allocations: 90.48 kB / 0.4908 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.1106, allocations: 36.78 kB / 0.4909 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.1109, allocations: 101.1 kB / 0.491 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1109, allocations: 34.5 kB / 0.491 GB, free: 9.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1109, allocations: 4 kB / 0.491 GB, free: 9.066 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1794/0.2904, allocations: 5.61 MB / 0.4965 GB, free: 3.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.2904, allocations: 51.41 kB / 0.4965 GB, free: 3.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.2905, allocations: 101.8 kB / 0.4966 GB, free: 3.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2906, allocations: 29.7 kB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.2906, allocations: 80.52 kB / 0.4967 GB, free: 3.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.2908, allocations: 78.83 kB / 0.4968 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.2909, allocations: 61.67 kB / 0.4969 GB, free: 2.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2911, allocations: 322.8 kB / 0.4972 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.2916, allocations: 120 kB / 0.4973 GB, free: 2.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.2921, allocations: 115.8 kB / 0.4974 GB, free: 2.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.2942, allocations: 324.5 kB / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2943, allocations: 0 / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001775/0.296, allocations: 353.7 kB / 0.498 GB, free: 1.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2961, allocations: 11.98 kB / 0.4981 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2961, allocations: 0 / 0.4981 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2961, allocations: 3.938 kB / 0.4981 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.2967, allocations: 83.86 kB / 0.4981 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2968, allocations: 0 / 0.4981 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.297, allocations: 27.95 kB / 0.4982 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.2971, allocations: 27.91 kB / 0.4982 GB, free: 1.602 MB / 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 (23): * Single equations (assignments): 23 * 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.0001314/0.2972, allocations: 121.8 kB / 0.4983 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.2973, allocations: 7.906 kB / 0.4983 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2988, allocations: 429.8 kB / 0.4987 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2988, allocations: 4 kB / 0.4987 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2989, allocations: 4 kB / 0.4987 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2989, allocations: 0 / 0.4987 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.301, allocations: 0.7728 MB / 0.4995 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.301, allocations: 3.938 kB / 0.4995 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.3013, allocations: 75.86 kB / 0.4996 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3013, allocations: 4 kB / 0.4996 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3014, allocations: 15.98 kB / 0.4996 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3014, allocations: 4 kB / 0.4996 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3014, allocations: 0 / 0.4996 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3025, allocations: 432.7 kB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.3026, allocations: 85.02 kB / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3026, allocations: 8 kB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3028, allocations: 19.97 kB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.3028, allocations: 19.97 kB / 0.5001 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3028, allocations: 8 kB / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.3029, allocations: 87.27 kB / 0.5002 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3029, allocations: 0 / 0.5002 GB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001628/0.3045, allocations: 0.621 MB / 0.5008 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002947/0.3075, allocations: 298.9 kB / 0.5011 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.3083, allocations: 260.4 kB / 0.5014 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3083, allocations: 3.938 kB / 0.5014 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.3087, allocations: 135.9 kB / 0.5015 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.3089, allocations: 11.44 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.3099, allocations: 368.8 kB / 0.5019 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.3101, allocations: 0.6969 MB / 0.5025 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3102, allocations: 47.39 kB / 0.5026 GB, free: 12.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3102, allocations: 0 / 0.5026 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Templates: time 0.01885/0.3291, allocations: 14.14 MB / 0.5164 GB, free: 14.75 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches