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.001993/0.001993, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002438/0.002438, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.412/1.412, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.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.2216/0.2216, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.001999/0.001999, allocations: 67.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001629/0.2962, allocations: 0.5334 MB / 0.5623 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.297, allocations: 363 kB / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.297, allocations: 11.94 kB / 0.5627 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.297, allocations: 0 / 0.5627 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.455e-05/0.297, allocations: 3.938 kB / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.2975, allocations: 139.4 kB / 0.5628 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.2976, allocations: 31.86 kB / 0.5628 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.2976, allocations: 0 / 0.5628 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.2977, allocations: 15.92 kB / 0.5629 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.2977, allocations: 19.91 kB / 0.5629 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2977, allocations: 8 kB / 0.5629 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.298, allocations: 139.8 kB / 0.563 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.298, allocations: 4 kB / 0.563 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.298, allocations: 19.86 kB / 0.563 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.2982, allocations: 118.2 kB / 0.5632 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2982, allocations: 0 / 0.5632 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2982, allocations: 0 / 0.5632 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.2982, allocations: 3.938 kB / 0.5632 GB, free: 2.793 MB / 398.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.0004613/0.2987, allocations: 297.9 kB / 0.5634 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2987, allocations: 8.031 kB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.2988, allocations: 8.938 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2989, allocations: 110.5 kB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2989, allocations: 4.312 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.2989, allocations: 8.375 kB / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2991, allocations: 50.23 kB / 0.5636 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2991, allocations: 7.875 kB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2991, allocations: 8 kB / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2991, allocations: 0 / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.2992, allocations: 23.98 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2993, allocations: 113.3 kB / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2995, allocations: 54.59 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.2996, allocations: 28.84 kB / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.2998, allocations: 23.97 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2999, allocations: 34.55 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2999, allocations: 4 kB / 0.5639 GB, free: 1.914 MB / 398.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.1481/0.448, allocations: 6.388 MB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.448, allocations: 55.41 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4482, allocations: 105.8 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.4482, allocations: 37.7 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4482, allocations: 80.14 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4484, allocations: 63.44 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.4485, allocations: 89.59 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4487, allocations: 322.8 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.4493, allocations: 227.8 kB / 0.5711 GB, free: 10.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.4498, allocations: 232.2 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.4521, allocations: 0.5613 MB / 0.5719 GB, free: 9.688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4521, allocations: 0 / 0.5719 GB, free: 9.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001983/0.4541, allocations: 0.6066 MB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4541, allocations: 7.984 kB / 0.5725 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4541, allocations: 3.938 kB / 0.5725 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4542, allocations: 0 / 0.5725 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.4549, allocations: 107.8 kB / 0.5726 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4549, allocations: 11.94 kB / 0.5726 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.4554, allocations: 23.91 kB / 0.5726 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.4555, allocations: 39.92 kB / 0.5726 GB, free: 8.883 MB / 414.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.0001657/0.4557, allocations: 117.8 kB / 0.5728 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.4558, allocations: 7.953 kB / 0.5728 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.458, allocations: 0.7334 MB / 0.5735 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.458, allocations: 0 / 0.5735 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4581, allocations: 4 kB / 0.5735 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4581, allocations: 3.984 kB / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.4626, allocations: 1.047 MB / 0.5745 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4626, allocations: 8.031 kB / 0.5745 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.4632, allocations: 95.8 kB / 0.5746 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.4632, allocations: 7.938 kB / 0.5746 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.4633, allocations: 24.2 kB / 0.5746 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.4633, allocations: 8 kB / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4633, allocations: 0 / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.4651, allocations: 0.5924 MB / 0.5752 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.4651, allocations: 11.89 kB / 0.5752 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.4652, allocations: 4 kB / 0.5752 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.4657, allocations: 27.95 kB / 0.5753 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.4657, allocations: 11.98 kB / 0.5753 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.4657, allocations: 31.95 kB / 0.5753 GB, free: 6.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.4658, allocations: 87.27 kB / 0.5754 GB, free: 5.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4658, allocations: 0 / 0.5754 GB, free: 5.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001798/0.4676, allocations: 0.648 MB / 0.576 GB, free: 5.32 MB / 414.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.003075/0.4707, allocations: 294.5 kB / 0.5763 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.4719, allocations: 439.5 kB / 0.5767 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4719, allocations: 0 / 0.5767 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.4725, allocations: 195.6 kB / 0.5769 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.4728, allocations: 27.2 kB / 0.5769 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.4755, allocations: 0.5256 MB / 0.5774 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.638e-05/0.4756, allocations: 75.56 kB / 0.5775 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004402/0.476, allocations: 125 kB / 0.5776 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.4763, allocations: 87.28 kB / 0.5777 GB, free: 3.492 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4763, allocations: 0 / 0.5777 GB, free: 3.492 MB / 414.1 MB Notification: Performance of Templates: time 0.07889/0.5552, allocations: 58.47 MB / 0.6348 GB, free: 9.043 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 cvode -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: 5.726222008001059]