Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 72.11 kB / 443.2 MB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2875, allocations: 66.01 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00156/0.2891, allocations: 0.5289 MB / 0.4977 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006327/0.2897, allocations: 361.7 kB / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.2898, allocations: 0 / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.2898, allocations: 3.938 kB / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.2898, allocations: 3.938 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.2902, allocations: 144.4 kB / 0.4982 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.2903, allocations: 28.73 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.2903, allocations: 6.875 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.2903, allocations: 6.094 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.2904, allocations: 21.42 kB / 0.4983 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.2904, allocations: 3.938 kB / 0.4983 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2906, allocations: 140.3 kB / 0.4984 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2906, allocations: 10.59 kB / 0.4984 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.2906, allocations: 7.156 kB / 0.4984 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2908, allocations: 127.4 kB / 0.4986 GB, free: 29.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2908, allocations: 0 / 0.4986 GB, free: 29.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2908, allocations: 0 / 0.4986 GB, free: 29.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2908, allocations: 4 kB / 0.4986 GB, free: 29.1 MB / 446.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.0003587/0.2912, allocations: 291.8 kB / 0.4989 GB, free: 28.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2912, allocations: 9.719 kB / 0.4989 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.2912, allocations: 15.48 kB / 0.4989 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.007e-05/0.2913, allocations: 113.6 kB / 0.499 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.2913, allocations: 3.562 kB / 0.499 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.2913, allocations: 3.469 kB / 0.499 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2914, allocations: 53.64 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2915, allocations: 3.938 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2915, allocations: 7.984 kB / 0.4991 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2915, allocations: 4 kB / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.2915, allocations: 27.38 kB / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.2916, allocations: 114.3 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2918, allocations: 50.94 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.2919, allocations: 21.98 kB / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.2921, allocations: 33.17 kB / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.2921, allocations: 34.78 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2921, allocations: 0 / 0.4993 GB, free: 28.39 MB / 446.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.1447/0.4368, allocations: 6.398 MB / 0.5056 GB, free: 27.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.4369, allocations: 54.41 kB / 0.5056 GB, free: 27.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.4369, allocations: 106.5 kB / 0.5057 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.4369, allocations: 29.7 kB / 0.5058 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.437, allocations: 83.88 kB / 0.5058 GB, free: 27.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.437, allocations: 67.23 kB / 0.5059 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.4372, allocations: 89.89 kB / 0.506 GB, free: 27.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.4372, allocations: 321.2 kB / 0.5063 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.4378, allocations: 232.2 kB / 0.5065 GB, free: 26.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.4383, allocations: 231.8 kB / 0.5067 GB, free: 26.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.4403, allocations: 0.5572 MB / 0.5073 GB, free: 26.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4403, allocations: 0 / 0.5073 GB, free: 26.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001782/0.4421, allocations: 0.6084 MB / 0.5079 GB, free: 26.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4421, allocations: 6.844 kB / 0.5079 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4421, allocations: 4 kB / 0.5079 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4421, allocations: 0 / 0.5079 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.4428, allocations: 105.8 kB / 0.508 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4428, allocations: 0 / 0.508 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.4433, allocations: 26.08 kB / 0.508 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.4433, allocations: 31.75 kB / 0.508 GB, free: 26.26 MB / 446.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.000112/0.4434, allocations: 128.5 kB / 0.5082 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.4435, allocations: 7.875 kB / 0.5082 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.4456, allocations: 0.7292 MB / 0.5089 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4456, allocations: 2.922 kB / 0.5089 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4456, allocations: 0 / 0.5089 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4457, allocations: 2.312 kB / 0.5089 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/0.4496, allocations: 1.054 MB / 0.5099 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4496, allocations: 1.859 kB / 0.5099 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.4502, allocations: 98.56 kB / 0.51 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4502, allocations: 7 kB / 0.51 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.4502, allocations: 26.27 kB / 0.51 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4502, allocations: 7.656 kB / 0.5101 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4502, allocations: 10.53 kB / 0.5101 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4519, allocations: 0.569 MB / 0.5106 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.4519, allocations: 18 kB / 0.5106 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.4519, allocations: 3.312 kB / 0.5106 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.4524, allocations: 31.42 kB / 0.5107 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4524, allocations: 17.3 kB / 0.5107 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.4525, allocations: 31.94 kB / 0.5107 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.4525, allocations: 81.98 kB / 0.5108 GB, free: 25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4525, allocations: 0 / 0.5108 GB, free: 25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001686/0.4542, allocations: 0.6492 MB / 0.5114 GB, free: 24.96 MB / 446.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.002831/0.457, allocations: 293.5 kB / 0.5117 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4582, allocations: 442.2 kB / 0.5121 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4582, allocations: 3.938 kB / 0.5121 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.4587, allocations: 198.5 kB / 0.5123 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.459, allocations: 13.45 kB / 0.5123 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.4614, allocations: 0.5269 MB / 0.5128 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.4614, allocations: 77.66 kB / 0.5129 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.4618, allocations: 123.6 kB / 0.513 GB, free: 24.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.4621, allocations: 92.53 kB / 0.5131 GB, free: 24.27 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4621, allocations: 4 kB / 0.5131 GB, free: 24.26 MB / 446.1 MB Notification: Performance of Templates: time 0.07044/0.5326, allocations: 58.39 MB / 0.5702 GB, free: 10.69 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6442493490176275]