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.001308/0.001308, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001419/0.001419, allocations: 168.8 kB / 24.5 MB, free: 3.453 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.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.2057/0.2057, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.002191/0.002191, allocations: 67.91 kB / 443.1 MB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.366, allocations: 66.01 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001428/0.3674, allocations: 0.5254 MB / 0.4977 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.368, allocations: 380.7 kB / 0.4981 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.3681, allocations: 0 / 0.4981 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.3681, allocations: 3.938 kB / 0.4981 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.3681, allocations: 0 / 0.4981 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.3685, allocations: 149.7 kB / 0.4982 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.3686, allocations: 20.38 kB / 0.4983 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.3686, allocations: 3.344 kB / 0.4983 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.3686, allocations: 25.98 kB / 0.4983 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.3687, allocations: 17.94 kB / 0.4983 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3687, allocations: 3.25 kB / 0.4983 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.3689, allocations: 139.5 kB / 0.4984 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.3689, allocations: 11.25 kB / 0.4985 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.3689, allocations: 14.56 kB / 0.4985 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3691, allocations: 123.2 kB / 0.4986 GB, free: 29.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3691, allocations: 0 / 0.4986 GB, free: 29.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3691, allocations: 0 / 0.4986 GB, free: 29.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3691, allocations: 0 / 0.4986 GB, free: 29.15 MB / 446.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.0002861/0.3694, allocations: 291.8 kB / 0.4989 GB, free: 28.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.3694, allocations: 13.62 kB / 0.4989 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3694, allocations: 12 kB / 0.4989 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.454e-05/0.3695, allocations: 109.7 kB / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3695, allocations: 7.625 kB / 0.499 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3695, allocations: 11 kB / 0.499 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3697, allocations: 63.56 kB / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3697, allocations: 7.875 kB / 0.4991 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3697, allocations: 4 kB / 0.4991 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3697, allocations: 6.594 kB / 0.4991 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.3698, allocations: 40.81 kB / 0.4991 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.3699, allocations: 125.7 kB / 0.4992 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.37, allocations: 74.84 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.37, allocations: 28.88 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.3702, allocations: 22.23 kB / 0.4994 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3703, allocations: 41.25 kB / 0.4994 GB, free: 28.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.3703, allocations: 0 / 0.4994 GB, free: 28.42 MB / 446.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.1387/0.5089, allocations: 5.618 MB / 0.5049 GB, free: 27.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.509, allocations: 55.19 kB / 0.5049 GB, free: 27.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.509, allocations: 94.5 kB / 0.505 GB, free: 27.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.5091, allocations: 32.73 kB / 0.5051 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.5091, allocations: 81.08 kB / 0.5051 GB, free: 27.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.5091, allocations: 86.34 kB / 0.5052 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.5092, allocations: 62.03 kB / 0.5053 GB, free: 27.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.5093, allocations: 324.4 kB / 0.5056 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.5096, allocations: 112.9 kB / 0.5057 GB, free: 27.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.51, allocations: 118.5 kB / 0.5058 GB, free: 27.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.5113, allocations: 314.2 kB / 0.5061 GB, free: 26.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5113, allocations: 7.188 kB / 0.5061 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001134/0.5125, allocations: 352.7 kB / 0.5065 GB, free: 26.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5125, allocations: 6.906 kB / 0.5065 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5125, allocations: 4 kB / 0.5065 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5125, allocations: 3.031 kB / 0.5065 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.5129, allocations: 79.16 kB / 0.5065 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5129, allocations: 0.6094 kB / 0.5065 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.5131, allocations: 23.73 kB / 0.5066 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.5131, allocations: 17.86 kB / 0.5066 GB, free: 26.85 MB / 446.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 8.472e-05/0.5132, allocations: 132.9 kB / 0.5067 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.5133, allocations: 8.031 kB / 0.5067 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.5146, allocations: 431.5 kB / 0.5071 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5146, allocations: 0 / 0.5071 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5146, allocations: 7 kB / 0.5071 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5146, allocations: 1.172 kB / 0.5071 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.5168, allocations: 0.6953 MB / 0.5078 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5168, allocations: 3.062 kB / 0.5078 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.517, allocations: 71.33 kB / 0.5079 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.517, allocations: 0 / 0.5079 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.5171, allocations: 20.31 kB / 0.5079 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5171, allocations: 3.125 kB / 0.5079 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5171, allocations: 8.438 kB / 0.5079 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.5182, allocations: 422.6 kB / 0.5083 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.5182, allocations: 12.25 kB / 0.5083 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.5182, allocations: 11 kB / 0.5083 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.5184, allocations: 22.03 kB / 0.5084 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.5184, allocations: 16.89 kB / 0.5084 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.5185, allocations: 15.08 kB / 0.5084 GB, free: 26.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.721e-05/0.5185, allocations: 75.28 kB / 0.5085 GB, free: 25.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5185, allocations: 0 / 0.5085 GB, free: 25.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00182/0.5203, allocations: 0.6345 MB / 0.5091 GB, free: 25.89 MB / 446.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.002751/0.523, allocations: 301.5 kB / 0.5094 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.5238, allocations: 256.5 kB / 0.5096 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5238, allocations: 5.375 kB / 0.5096 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.5242, allocations: 125.5 kB / 0.5097 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.5244, allocations: 14.47 kB / 0.5098 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.5254, allocations: 335.8 kB / 0.5101 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.5254, allocations: 80.59 kB / 0.5102 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.5256, allocations: 79.98 kB / 0.5102 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5258, allocations: 46.89 kB / 0.5103 GB, free: 25.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5258, allocations: 0 / 0.5103 GB, free: 25.38 MB / 446.1 MB Notification: Performance of Templates: time 0.065/0.5908, allocations: 54.05 MB / 0.5631 GB, free: 2.02 MB / 462.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 -s ida -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/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_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.6680231889477]