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.001334/0.001334, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.00144/0.00144, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2284/0.2284, allocations: 46.97 MB / 361.6 MB, free: 4.105 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.002105/0.002105, allocations: 63.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001732/0.2965, allocations: 0.5304 MB / 0.5623 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.2973, allocations: 371 kB / 0.5627 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.2974, allocations: 0 / 0.5627 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.2974, allocations: 3.938 kB / 0.5627 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.2974, allocations: 3.938 kB / 0.5627 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.298, allocations: 135.4 kB / 0.5628 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.2981, allocations: 27.92 kB / 0.5629 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.2981, allocations: 4 kB / 0.5629 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.2981, allocations: 11.98 kB / 0.5629 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.2982, allocations: 23.78 kB / 0.5629 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2982, allocations: 4 kB / 0.5629 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.2985, allocations: 143.8 kB / 0.563 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.2985, allocations: 4 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.2985, allocations: 11.92 kB / 0.563 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.2988, allocations: 122.3 kB / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2988, allocations: 0 / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2988, allocations: 0 / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2988, allocations: 8 kB / 0.5632 GB, free: 2.754 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.0004305/0.2993, allocations: 297.9 kB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2993, allocations: 8.031 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2993, allocations: 0.9375 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2994, allocations: 114.4 kB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2994, allocations: 12.31 kB / 0.5636 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.2995, allocations: 384 / 0.5636 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2996, allocations: 58.23 kB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2996, allocations: 3.938 kB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2996, allocations: 0 / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2996, allocations: 4 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.2997, allocations: 27.92 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.2999, allocations: 113.3 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3001, allocations: 54.55 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.3002, allocations: 24.84 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.3005, allocations: 28.25 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3005, allocations: 46.48 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3005, allocations: 0 / 0.5639 GB, free: 1.867 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.1512/0.4517, allocations: 6.391 MB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.4518, allocations: 51.41 kB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4519, allocations: 109.8 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.4519, allocations: 25.7 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.452, allocations: 84.14 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4521, allocations: 63.44 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.4523, allocations: 85.59 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4524, allocations: 322.8 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/0.453, allocations: 227.8 kB / 0.5711 GB, free: 10.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.4536, allocations: 228.2 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.4561, allocations: 0.5654 MB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4561, allocations: 0 / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002043/0.4581, allocations: 0.6104 MB / 0.5725 GB, free: 9.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4581, allocations: 7.984 kB / 0.5725 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4581, allocations: 3.938 kB / 0.5725 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4581, allocations: 8 kB / 0.5725 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.4589, allocations: 103.8 kB / 0.5726 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4589, allocations: 0 / 0.5726 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.4594, allocations: 23.97 kB / 0.5726 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.4595, allocations: 31.94 kB / 0.5726 GB, free: 8.855 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.0001806/0.4597, allocations: 121.7 kB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.4598, allocations: 11.95 kB / 0.5728 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.4621, allocations: 0.7341 MB / 0.5735 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4621, allocations: 7.969 kB / 0.5735 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4621, allocations: 0 / 0.5735 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.4621, allocations: 11.89 kB / 0.5735 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.4622, allocations: 4 kB / 0.5735 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.4627, allocations: 31.91 kB / 0.5735 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.4628, allocations: 15.91 kB / 0.5735 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002624/0.4654, allocations: 0.723 MB / 0.5743 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002111/0.4675, allocations: 0.7663 MB / 0.575 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006289/0.4681, allocations: 227.8 kB / 0.5752 GB, free: 6.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.4682, allocations: 95.2 kB / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.4682, allocations: 0 / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004356/0.4725, allocations: 0.5354 MB / 0.5758 GB, free: 5.535 MB / 414.1 MB Notification: Performance of SimCode: time 0.000635/0.4732, allocations: 0.615 MB / 0.5764 GB, free: 4.871 MB / 414.1 MB Notification: Performance of Templates: time 0.08147/0.5546, allocations: 59.44 MB / 0.6345 GB, free: 9.449 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 -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.642009899005643]