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.001899/0.001899, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002275/0.002275, allocations: 212.3 kB / 20.75 MB, free: 2.312 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.647/1.647, allocations: 230.5 MB / 254.1 MB, free: 15.07 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.2344/0.2344, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.91 kB / 0.4914 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1182, allocations: 65.99 MB / 0.5558 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001711/0.1199, allocations: 0.5359 MB / 0.5564 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.1207, allocations: 407.4 kB / 0.5567 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.1207, allocations: 0 / 0.5567 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.1207, allocations: 3.938 kB / 0.5568 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.844e-05/0.1208, allocations: 3.938 kB / 0.5568 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1212, allocations: 135.5 kB / 0.5569 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.1213, allocations: 31.86 kB / 0.5569 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.1214, allocations: 7.984 kB / 0.5569 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.1214, allocations: 11.94 kB / 0.5569 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.1214, allocations: 19.91 kB / 0.557 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1215, allocations: 4 kB / 0.557 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.1218, allocations: 159.8 kB / 0.5571 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1218, allocations: 7.984 kB / 0.5571 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1218, allocations: 11.88 kB / 0.5571 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.122, allocations: 131.6 kB / 0.5573 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.122, allocations: 0 / 0.5573 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.122, allocations: 4 kB / 0.5573 GB, free: 3.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.122, allocations: 0 / 0.5573 GB, free: 3.871 MB / 414.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.0005036/0.1226, allocations: 375 kB / 0.5576 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1226, allocations: 12.03 kB / 0.5576 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1226, allocations: 0.9375 kB / 0.5576 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1228, allocations: 168.3 kB / 0.5578 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1228, allocations: 384 / 0.5578 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1228, allocations: 12.31 kB / 0.5578 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1229, allocations: 54.17 kB / 0.5579 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.123, allocations: 7.938 kB / 0.5579 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.123, allocations: 4 kB / 0.5579 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.123, allocations: 4 kB / 0.5579 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.1231, allocations: 23.98 kB / 0.5579 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.1233, allocations: 169.6 kB / 0.5581 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1235, allocations: 58.58 kB / 0.5581 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.1236, allocations: 24.84 kB / 0.5581 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.1239, allocations: 109.1 kB / 0.5582 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1239, allocations: 34.56 kB / 0.5583 GB, free: 2.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1239, allocations: 0 / 0.5583 GB, free: 2.656 MB / 414.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.1536/0.2775, allocations: 6.385 MB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.2776, allocations: 51.41 kB / 0.5646 GB, free: 12.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2777, allocations: 105.8 kB / 0.5647 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.2777, allocations: 29.7 kB / 0.5647 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.2778, allocations: 84.12 kB / 0.5648 GB, free: 11.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2779, allocations: 67.38 kB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.2781, allocations: 97.52 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2783, allocations: 326.8 kB / 0.5652 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.2789, allocations: 227.8 kB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.2795, allocations: 233 kB / 0.5657 GB, free: 10.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.2819, allocations: 0.5602 MB / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2819, allocations: 0 / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002053/0.284, allocations: 0.6086 MB / 0.5668 GB, free: 9.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.284, allocations: 4 kB / 0.5668 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.284, allocations: 0 / 0.5668 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.284, allocations: 4 kB / 0.5668 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.2847, allocations: 115.8 kB / 0.5669 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2847, allocations: 0 / 0.5669 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.2852, allocations: 19.97 kB / 0.5669 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.2852, allocations: 35.94 kB / 0.567 GB, free: 9.641 MB / 430.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.0001875/0.2854, allocations: 120 kB / 0.5671 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.2855, allocations: 15.94 kB / 0.5671 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.2879, allocations: 0.732 MB / 0.5678 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2879, allocations: 0 / 0.5678 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.288, allocations: 4 kB / 0.5678 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.288, allocations: 0 / 0.5678 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.2925, allocations: 1.149 MB / 0.569 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2925, allocations: 0 / 0.569 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.2931, allocations: 112 kB / 0.5691 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2931, allocations: 0 / 0.5691 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.2932, allocations: 27.95 kB / 0.5691 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2932, allocations: 0 / 0.5691 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2932, allocations: 4 kB / 0.5691 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.2951, allocations: 0.5806 MB / 0.5697 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.2952, allocations: 93.52 kB / 0.5697 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.2952, allocations: 4 kB / 0.5698 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.2957, allocations: 27.97 kB / 0.5698 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.2957, allocations: 11.98 kB / 0.5698 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.2958, allocations: 35.89 kB / 0.5698 GB, free: 6.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.2958, allocations: 91.2 kB / 0.5699 GB, free: 6.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2958, allocations: 0 / 0.5699 GB, free: 6.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001914/0.2978, allocations: 0.6518 MB / 0.5705 GB, free: 5.852 MB / 430.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.003449/0.3012, allocations: 297.5 kB / 0.5708 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.3026, allocations: 435.5 kB / 0.5712 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3026, allocations: 4 kB / 0.5713 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.3032, allocations: 195.7 kB / 0.5714 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3035, allocations: 12 kB / 0.5714 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3062, allocations: 0.5295 MB / 0.572 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3065, allocations: 0.6926 MB / 0.5726 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.307, allocations: 125.1 kB / 0.5728 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.3073, allocations: 87.3 kB / 0.5728 GB, free: 3.406 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3073, allocations: 4 kB / 0.5728 GB, free: 3.402 MB / 430.1 MB Notification: Performance of Templates: time 0.2948/0.6021, allocations: 57.42 MB / 0.6289 GB, free: 12.23 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/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.161334466189146]