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.001912/0.001912, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00232/0.00232, allocations: 209 kB / 24.48 MB, free: 3.938 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2166/0.2166, allocations: 46.95 MB / 361.6 MB, free: 4.09 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.002153/0.002153, allocations: 59.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3583, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001663/0.3599, allocations: 0.5265 MB / 0.5623 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.3607, allocations: 370.9 kB / 0.5627 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.3608, allocations: 0 / 0.5627 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.3608, allocations: 3.938 kB / 0.5627 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.3608, allocations: 0 / 0.5627 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.3614, allocations: 143.3 kB / 0.5628 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.331e-05/0.3614, allocations: 19.98 kB / 0.5628 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3614, allocations: 8 kB / 0.5629 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.3615, allocations: 11.92 kB / 0.5629 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.3615, allocations: 23.91 kB / 0.5629 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3615, allocations: 0 / 0.5629 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.3618, allocations: 131.8 kB / 0.563 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3618, allocations: 15.92 kB / 0.563 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.3618, allocations: 11.92 kB / 0.563 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.362, allocations: 118.4 kB / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.362, allocations: 0 / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.362, allocations: 0 / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.362, allocations: 4 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.000443/0.3625, allocations: 297.9 kB / 0.5634 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3625, allocations: 8.031 kB / 0.5634 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3626, allocations: 4.938 kB / 0.5634 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3627, allocations: 114.4 kB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3627, allocations: 8.375 kB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3627, allocations: 4.375 kB / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3628, allocations: 54.19 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3629, allocations: 3.938 kB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3629, allocations: 0 / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3629, allocations: 11.98 kB / 0.5636 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.3629, allocations: 27.98 kB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.3631, allocations: 109.3 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3633, allocations: 54.55 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.3634, allocations: 16.86 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.3636, allocations: 39.95 kB / 0.5639 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3636, allocations: 30.84 kB / 0.5639 GB, free: 1.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3636, allocations: 0 / 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.1405/0.5041, allocations: 6.399 MB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.5042, allocations: 59.34 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5043, allocations: 101.9 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.5044, allocations: 25.7 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.5044, allocations: 88.14 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5045, allocations: 67.42 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.5047, allocations: 81.59 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5049, allocations: 326.8 kB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.5054, allocations: 227.8 kB / 0.5711 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.506, allocations: 231.8 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.5082, allocations: 0.5614 MB / 0.5719 GB, free: 9.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5082, allocations: 0 / 0.5719 GB, free: 9.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001911/0.5101, allocations: 0.6082 MB / 0.5724 GB, free: 9.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5102, allocations: 8 kB / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5102, allocations: 0 / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.5102, allocations: 7.984 kB / 0.5725 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.5108, allocations: 104.3 kB / 0.5726 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5109, allocations: 0 / 0.5726 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.5113, allocations: 31.95 kB / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.5113, allocations: 31.94 kB / 0.5726 GB, free: 8.887 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.0001758/0.5115, allocations: 121.7 kB / 0.5727 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.5116, allocations: 15.89 kB / 0.5728 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.5138, allocations: 0.7321 MB / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5139, allocations: 0 / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5139, allocations: 0 / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5139, allocations: 0 / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.518, allocations: 1.044 MB / 0.5745 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.518, allocations: 3.938 kB / 0.5745 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.5185, allocations: 99.84 kB / 0.5746 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.5185, allocations: 3.938 kB / 0.5746 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.5186, allocations: 35.89 kB / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.5186, allocations: 4 kB / 0.5746 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5186, allocations: 8.125 kB / 0.5746 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.5204, allocations: 0.575 MB / 0.5752 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.5204, allocations: 15.89 kB / 0.5752 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.5205, allocations: 4 kB / 0.5752 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.5209, allocations: 31.95 kB / 0.5753 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.5209, allocations: 15.92 kB / 0.5753 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.521, allocations: 27.95 kB / 0.5753 GB, free: 6.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.392e-05/0.521, allocations: 83.28 kB / 0.5754 GB, free: 5.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.521, allocations: 0 / 0.5754 GB, free: 5.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001755/0.5228, 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.003388/0.5262, allocations: 298.3 kB / 0.5763 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.5275, allocations: 453.8 kB / 0.5767 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5275, allocations: 0 / 0.5767 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.528, allocations: 192.1 kB / 0.5769 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.5284, allocations: 18.75 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.002335/0.5307, allocations: 0.5543 MB / 0.5775 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.5308, allocations: 75.52 kB / 0.5775 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.5311, allocations: 91.28 kB / 0.5776 GB, free: 3.578 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5311, allocations: 0 / 0.5776 GB, free: 3.578 MB / 414.1 MB Notification: Performance of Templates: time 0.02674/0.5579, allocations: 15.98 MB / 0.5932 GB, free: 3.617 MB / 430.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 -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: 10.899965360760689]