Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001807/0.001807, 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.002342/0.002342, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.583/1.583, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2438/0.2438, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.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_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_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.89 kB / 0.4914 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1585, allocations: 65.99 MB / 0.5558 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001862/0.1604, allocations: 0.5456 MB / 0.5564 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.1613, allocations: 407.4 kB / 0.5568 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.1613, allocations: 0 / 0.5568 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.1613, allocations: 3.938 kB / 0.5568 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.1614, allocations: 0 / 0.5568 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1619, allocations: 143.5 kB / 0.5569 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.162, allocations: 23.92 kB / 0.5569 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.162, allocations: 8 kB / 0.5569 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.1621, allocations: 23.91 kB / 0.5569 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.1621, allocations: 15.92 kB / 0.557 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1622, allocations: 4 kB / 0.557 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.1624, allocations: 163.8 kB / 0.5571 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.1625, allocations: 11.98 kB / 0.5571 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1625, allocations: 19.86 kB / 0.5572 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1627, allocations: 119.6 kB / 0.5573 GB, free: 3.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1628, allocations: 0 / 0.5573 GB, free: 3.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1628, allocations: 0 / 0.5573 GB, free: 3.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1628, allocations: 4 kB / 0.5573 GB, free: 3.914 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006189/0.1634, allocations: 371.1 kB / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1634, allocations: 12.02 kB / 0.5576 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1635, allocations: 8.891 kB / 0.5576 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1636, allocations: 164.3 kB / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1637, allocations: 12.31 kB / 0.5578 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1637, allocations: 4.375 kB / 0.5578 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1638, allocations: 62.23 kB / 0.5579 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1639, allocations: 15.86 kB / 0.5579 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1639, allocations: 4 kB / 0.5579 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1639, allocations: 0 / 0.5579 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.164, allocations: 43.97 kB / 0.5579 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.1642, allocations: 177.5 kB / 0.5581 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1644, allocations: 78.48 kB / 0.5582 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1644, allocations: 28.84 kB / 0.5582 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.1647, allocations: 105.1 kB / 0.5583 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1648, allocations: 30.56 kB / 0.5583 GB, free: 2.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1648, allocations: 0 / 0.5583 GB, free: 2.641 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1375/0.3023, allocations: 5.621 MB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3023, allocations: 59.27 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.3024, allocations: 89.86 kB / 0.564 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.3024, allocations: 33.7 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.3025, allocations: 80.52 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.3025, allocations: 75.33 kB / 0.5642 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3027, allocations: 57.67 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3028, allocations: 330.9 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.3032, allocations: 107.9 kB / 0.5646 GB, free: 12.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.3036, allocations: 126.9 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3051, allocations: 316.6 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3051, allocations: 4 kB / 0.5651 GB, free: 11.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001299/0.3064, allocations: 348.5 kB / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3064, allocations: 11.98 kB / 0.5654 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3064, allocations: 3.984 kB / 0.5654 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3065, allocations: 4 kB / 0.5654 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.3069, allocations: 79.86 kB / 0.5655 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3069, allocations: 4 kB / 0.5655 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3071, allocations: 19.97 kB / 0.5655 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.3071, allocations: 27.91 kB / 0.5655 GB, free: 11.19 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 (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.0001493/0.3073, allocations: 132 kB / 0.5657 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3073, allocations: 7.953 kB / 0.5657 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3088, allocations: 421.8 kB / 0.5661 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3088, allocations: 4 kB / 0.5661 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3088, allocations: 0 / 0.5661 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3089, allocations: 0 / 0.5661 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.3113, allocations: 0.7819 MB / 0.5668 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.3113, allocations: 7.938 kB / 0.5668 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.3116, allocations: 79.86 kB / 0.5669 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3116, allocations: 8 kB / 0.5669 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3116, allocations: 11.98 kB / 0.5669 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3116, allocations: 4 kB / 0.5669 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3116, allocations: 0 / 0.5669 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3129, allocations: 430.8 kB / 0.5673 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.313, allocations: 89.05 kB / 0.5674 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.313, allocations: 4 kB / 0.5674 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3132, allocations: 35.91 kB / 0.5675 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3133, allocations: 11.97 kB / 0.5675 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3133, allocations: 12 kB / 0.5675 GB, free: 9.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.685e-05/0.3134, allocations: 83.27 kB / 0.5676 GB, free: 8.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3134, allocations: 0 / 0.5676 GB, free: 8.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001945/0.3153, allocations: 0.6284 MB / 0.5682 GB, free: 8.344 MB / 430.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.003769/0.3191, allocations: 298.6 kB / 0.5685 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008933/0.32, allocations: 254.4 kB / 0.5687 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.32, allocations: 0 / 0.5687 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.3204, allocations: 131.8 kB / 0.5688 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3206, allocations: 11.94 kB / 0.5689 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3216, allocations: 331.3 kB / 0.5692 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.322, allocations: 0.6931 MB / 0.5698 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.3222, allocations: 77.08 kB / 0.5699 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3224, allocations: 47.39 kB / 0.57 GB, free: 6.449 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3224, allocations: 0 / 0.57 GB, free: 6.449 MB / 430.1 MB Notification: Performance of Templates: time 0.3932/0.7156, allocations: 53.9 MB / 0.6226 GB, free: 18.15 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.267103046178818]