Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 206.5 kB / 25.13 MB, free: 3.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2261/0.2261, allocations: 46.94 MB / 362 MB, free: 4.223 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 83.84 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3108, allocations: 66.08 MB / 0.5623 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001652/0.3125, allocations: 0.5377 MB / 0.5628 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.3133, allocations: 410.8 kB / 0.5632 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.3133, allocations: 0 / 0.5632 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.3133, allocations: 3.938 kB / 0.5632 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.863e-05/0.3134, allocations: 0 / 0.5632 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.3139, allocations: 151.3 kB / 0.5634 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.3139, allocations: 27.91 kB / 0.5634 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.314, allocations: 4 kB / 0.5634 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.314, allocations: 23.92 kB / 0.5634 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.3141, allocations: 19.92 kB / 0.5635 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3141, allocations: 0 / 0.5635 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.3143, allocations: 139.8 kB / 0.5636 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.3144, allocations: 15.97 kB / 0.5636 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3144, allocations: 15.88 kB / 0.5636 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3146, allocations: 126.2 kB / 0.5637 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3146, allocations: 0 / 0.5637 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3146, allocations: 0 / 0.5637 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3146, allocations: 0 / 0.5637 GB, free: 2.781 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004191/0.315, allocations: 294 kB / 0.564 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3151, allocations: 11.97 kB / 0.564 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3151, allocations: 8.891 kB / 0.564 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3152, allocations: 110.5 kB / 0.5641 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3152, allocations: 12.38 kB / 0.5642 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3152, allocations: 4.375 kB / 0.5642 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3154, allocations: 66.16 kB / 0.5642 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3154, allocations: 15.88 kB / 0.5642 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3154, allocations: 0 / 0.5642 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3154, allocations: 4 kB / 0.5642 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.3155, allocations: 43.95 kB / 0.5643 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.3157, allocations: 148.7 kB / 0.5644 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3158, allocations: 74.55 kB / 0.5645 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.3159, allocations: 28.84 kB / 0.5645 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.3161, allocations: 23.97 kB / 0.5645 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3162, allocations: 38.5 kB / 0.5646 GB, free: 1.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3162, allocations: 0 / 0.5646 GB, free: 1.793 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1199/0.436, allocations: 5.624 MB / 0.5701 GB, free: 12.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.4361, allocations: 55.41 kB / 0.5701 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.4362, allocations: 93.8 kB / 0.5702 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.4362, allocations: 33.7 kB / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.4363, allocations: 80.52 kB / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.86e-05/0.4364, allocations: 79.27 kB / 0.5704 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4365, allocations: 57.67 kB / 0.5705 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4366, allocations: 330.9 kB / 0.5708 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.437, allocations: 107.9 kB / 0.5709 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.4373, allocations: 119.9 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4387, allocations: 321.1 kB / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4387, allocations: 0 / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001222/0.44, allocations: 357.2 kB / 0.5716 GB, free: 10.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.44, allocations: 4 kB / 0.5716 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.44, allocations: 7.984 kB / 0.5716 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.44, allocations: 4 kB / 0.5717 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.4404, allocations: 83.84 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4404, allocations: 4 kB / 0.5717 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.4406, allocations: 19.97 kB / 0.5718 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.4406, allocations: 23.92 kB / 0.5718 GB, free: 10.33 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 (23): * Single equations (assignments): 23 * 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.0001203/0.4408, allocations: 117.8 kB / 0.5719 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.4408, allocations: 11.95 kB / 0.5719 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.4422, allocations: 425.8 kB / 0.5723 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4422, allocations: 4 kB / 0.5723 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4422, allocations: 7.984 kB / 0.5723 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4422, allocations: 0 / 0.5723 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.4445, allocations: 0.7446 MB / 0.573 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4445, allocations: 3.938 kB / 0.5731 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.4448, allocations: 75.88 kB / 0.5731 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4448, allocations: 4 kB / 0.5731 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4449, allocations: 19.98 kB / 0.5731 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4449, allocations: 0 / 0.5731 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.4449, allocations: 3.938 kB / 0.5731 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4461, allocations: 425.2 kB / 0.5736 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.4461, allocations: 7.953 kB / 0.5736 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.4461, allocations: 8 kB / 0.5736 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.4463, allocations: 27.95 kB / 0.5736 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4463, allocations: 19.92 kB / 0.5736 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4464, allocations: 11.98 kB / 0.5736 GB, free: 8.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.446e-05/0.4464, allocations: 83.28 kB / 0.5737 GB, free: 8.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4464, allocations: 0 / 0.5737 GB, free: 8.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001658/0.4481, allocations: 0.6284 MB / 0.5743 GB, free: 7.621 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002826/0.4509, allocations: 290.6 kB / 0.5746 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.4517, allocations: 263.7 kB / 0.5748 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4517, allocations: 0 / 0.5748 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.4521, allocations: 135.8 kB / 0.575 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.4524, allocations: 8 kB / 0.575 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.4533, allocations: 327.5 kB / 0.5753 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.4537, allocations: 0.6931 MB / 0.576 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.4539, allocations: 77.08 kB / 0.576 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4541, allocations: 47.39 kB / 0.5761 GB, free: 5.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4541, allocations: 0 / 0.5761 GB, free: 5.73 MB / 414.1 MB Notification: Performance of Templates: time 0.07353/0.5276, allocations: 54.02 MB / 0.6288 GB, free: 15.65 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.435051168082282]