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.001786/0.001786, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0024/0.0024, allocations: 210.7 kB / 23.73 MB, free: 4.16 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2361/0.2361, allocations: 46.96 MB / 360.9 MB, free: 4.07 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.002073/0.002073, allocations: 59.91 kB / 0.4966 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3369, allocations: 66.04 MB / 0.5611 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001766/0.3387, allocations: 0.5265 MB / 0.5616 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.3397, allocations: 378.8 kB / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.3397, allocations: 0 / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.3397, allocations: 3.938 kB / 0.5619 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.3397, allocations: 4 kB / 0.562 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.3403, allocations: 143.4 kB / 0.5621 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.3404, allocations: 31.91 kB / 0.5621 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3404, allocations: 4 kB / 0.5621 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.3405, allocations: 15.94 kB / 0.5621 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.3405, allocations: 19.91 kB / 0.5622 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3405, allocations: 0 / 0.5622 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.3408, allocations: 131.8 kB / 0.5623 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.3408, allocations: 15.94 kB / 0.5623 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.3408, allocations: 19.91 kB / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3411, allocations: 118.2 kB / 0.5624 GB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3411, allocations: 0 / 0.5624 GB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3411, allocations: 0 / 0.5624 GB, free: 2.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3411, allocations: 0 / 0.5624 GB, free: 2.824 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.0004461/0.3415, allocations: 290 kB / 0.5627 GB, free: 2.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3416, allocations: 8.031 kB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.3416, allocations: 16.77 kB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3417, allocations: 114.5 kB / 0.5628 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3417, allocations: 16.38 kB / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3418, allocations: 4.375 kB / 0.5629 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3419, allocations: 62.23 kB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3419, allocations: 11.88 kB / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3419, allocations: 0 / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3419, allocations: 0 / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.342, allocations: 47.89 kB / 0.563 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.3422, allocations: 113.3 kB / 0.5631 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3424, allocations: 86.41 kB / 0.5632 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.3424, allocations: 20.86 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.3427, allocations: 35.95 kB / 0.5632 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.3427, allocations: 38.56 kB / 0.5633 GB, free: 1.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.3427, allocations: 0 / 0.5633 GB, free: 1.871 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.1492/0.492, allocations: 5.61 MB / 0.5687 GB, free: 12.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.492, allocations: 63.2 kB / 0.5688 GB, free: 12.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4922, allocations: 93.86 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.4922, allocations: 25.7 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.4923, allocations: 88.5 kB / 0.569 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4924, allocations: 83.27 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.4925, allocations: 53.69 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.4927, allocations: 330.8 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.4932, allocations: 112 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.4938, allocations: 111.9 kB / 0.5697 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.496, allocations: 328.2 kB / 0.57 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.496, allocations: 0 / 0.57 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001764/0.4977, allocations: 357.2 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4978, allocations: 4 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4978, allocations: 0 / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.4978, allocations: 4 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.4984, allocations: 79.91 kB / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4984, allocations: 4 kB / 0.5704 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4987, allocations: 23.97 kB / 0.5704 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.4987, allocations: 15.98 kB / 0.5704 GB, free: 10.43 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.0001645/0.4989, allocations: 125.7 kB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.4989, allocations: 7.953 kB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.501, allocations: 432.7 kB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.501, allocations: 0 / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.501, allocations: 8 kB / 0.571 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.501, allocations: 3.984 kB / 0.571 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.5033, allocations: 0.6944 MB / 0.5717 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5033, allocations: 3.938 kB / 0.5717 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.5036, allocations: 83.98 kB / 0.5717 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5036, allocations: 0 / 0.5717 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.5037, allocations: 15.94 kB / 0.5718 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5037, allocations: 0 / 0.5718 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5037, allocations: 7.984 kB / 0.5718 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.5049, allocations: 416.8 kB / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.5049, allocations: 11.89 kB / 0.5722 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.505, allocations: 11.98 kB / 0.5722 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.5052, allocations: 27.91 kB / 0.5722 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.5052, allocations: 15.97 kB / 0.5722 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5052, allocations: 19.98 kB / 0.5723 GB, free: 8.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.5053, allocations: 75.28 kB / 0.5723 GB, free: 8.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5053, allocations: 4 kB / 0.5723 GB, free: 8.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001593/0.5068, allocations: 0.6323 MB / 0.5729 GB, free: 7.766 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.003042/0.5099, allocations: 290.5 kB / 0.5732 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008354/0.5107, allocations: 259.6 kB / 0.5735 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5107, allocations: 0 / 0.5735 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.5111, allocations: 135.9 kB / 0.5736 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5114, allocations: 11.94 kB / 0.5736 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/0.5123, allocations: 328.9 kB / 0.5739 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.5124, allocations: 80.05 kB / 0.574 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.5127, allocations: 81.08 kB / 0.5741 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5128, allocations: 47.39 kB / 0.5741 GB, free: 6.492 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5128, allocations: 0 / 0.5741 GB, free: 6.492 MB / 414.1 MB Notification: Performance of Templates: time 0.07903/0.5918, allocations: 54.08 MB / 0.6269 GB, free: 404 kB / 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 -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: 5.8036761451512575]