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.001734/0.001734, 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.002094/0.002094, allocations: 209.2 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2219/0.2219, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.002048/0.002048, allocations: 71.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2794, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001615/0.281, allocations: 0.5265 MB / 0.5623 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.2817, allocations: 370.9 kB / 0.5627 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.2817, allocations: 0 / 0.5627 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2818, allocations: 3.938 kB / 0.5627 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.2818, allocations: 3.938 kB / 0.5627 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.2823, allocations: 139.4 kB / 0.5628 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.2823, allocations: 23.92 kB / 0.5628 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.2824, allocations: 7.984 kB / 0.5628 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.2824, allocations: 7.984 kB / 0.5629 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.2825, allocations: 19.86 kB / 0.5629 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2825, allocations: 4 kB / 0.5629 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.2827, allocations: 151.8 kB / 0.563 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2827, allocations: 0 / 0.563 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.2828, allocations: 11.94 kB / 0.563 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.283, allocations: 126.2 kB / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.283, allocations: 0 / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.283, allocations: 4 kB / 0.5632 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.283, allocations: 0 / 0.5632 GB, free: 2.785 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.0004277/0.2834, allocations: 297.9 kB / 0.5634 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2834, allocations: 12.03 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.2835, allocations: 0.9375 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2836, allocations: 114.4 kB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.2836, allocations: 384 / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.2836, allocations: 8.375 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2837, allocations: 58.17 kB / 0.5636 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2838, allocations: 11.94 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2838, allocations: 4 kB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2838, allocations: 0 / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.2838, allocations: 27.92 kB / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.284, allocations: 113.3 kB / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2842, allocations: 50.56 kB / 0.5638 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.2843, allocations: 28.83 kB / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.2845, allocations: 23.97 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2845, allocations: 46.77 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2846, allocations: 4 kB / 0.5639 GB, free: 1.891 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.1508/0.4354, allocations: 6.385 MB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4354, allocations: 55.41 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.4355, allocations: 106 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.4356, allocations: 29.7 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.4356, allocations: 80.14 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4357, allocations: 71.42 kB / 0.5705 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.4359, allocations: 85.59 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.436, allocations: 326.8 kB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.4366, allocations: 227.8 kB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.4372, allocations: 231.8 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.4395, allocations: 0.5614 MB / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4395, allocations: 0 / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002041/0.4416, allocations: 0.6158 MB / 0.5725 GB, free: 9.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4416, allocations: 4.469 kB / 0.5725 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4416, allocations: 4 kB / 0.5725 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4416, allocations: 0 / 0.5725 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.4424, allocations: 107.8 kB / 0.5726 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4424, allocations: 0 / 0.5726 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.4429, allocations: 23.91 kB / 0.5726 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.443, allocations: 35.94 kB / 0.5726 GB, free: 8.875 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.0001545/0.4431, allocations: 121.7 kB / 0.5728 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.4432, allocations: 11.95 kB / 0.5728 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.4455, allocations: 0.7279 MB / 0.5735 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4455, allocations: 4 kB / 0.5735 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4455, allocations: 0 / 0.5735 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4455, allocations: 7.922 kB / 0.5735 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.4501, allocations: 1.047 MB / 0.5745 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4501, allocations: 4 kB / 0.5745 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.4507, allocations: 91.86 kB / 0.5746 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.4507, allocations: 7.938 kB / 0.5746 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.4508, allocations: 27.95 kB / 0.5746 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4508, allocations: 8.188 kB / 0.5746 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4508, allocations: 3.938 kB / 0.5746 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.4526, allocations: 0.5791 MB / 0.5752 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.4526, allocations: 11.89 kB / 0.5752 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.4527, allocations: 12 kB / 0.5752 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.4532, allocations: 23.95 kB / 0.5753 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4532, allocations: 19.92 kB / 0.5753 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.4533, allocations: 31.95 kB / 0.5753 GB, free: 6.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.4533, allocations: 83.27 kB / 0.5754 GB, free: 5.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4533, allocations: 0 / 0.5754 GB, free: 5.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001771/0.4551, allocations: 0.648 MB / 0.576 GB, free: 5.309 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.00315/0.4582, allocations: 294.5 kB / 0.5763 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4595, allocations: 445.8 kB / 0.5767 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4595, allocations: 0 / 0.5767 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.4601, allocations: 200.1 kB / 0.5769 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.4604, allocations: 15.92 kB / 0.5769 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.4631, allocations: 0.5252 MB / 0.5774 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.4632, allocations: 79.56 kB / 0.5775 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004373/0.4636, allocations: 117 kB / 0.5776 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.4639, allocations: 95.28 kB / 0.5777 GB, free: 3.477 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4639, allocations: 0 / 0.5777 GB, free: 3.477 MB / 414.1 MB Notification: Performance of Templates: time 0.07492/0.5389, allocations: 58.47 MB / 0.6348 GB, free: 9.027 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 gbode -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.68256157299038]