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.001757/0.001757, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 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.002203/0.002203, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.508/1.508, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2227/0.2227, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.002424/0.002424, allocations: 79.88 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2823, allocations: 65.99 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001686/0.284, allocations: 0.5407 MB / 0.5617 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.2848, allocations: 410.8 kB / 0.5621 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.2848, allocations: 0 / 0.5621 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.2848, allocations: 3.938 kB / 0.5621 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.059e-05/0.2849, allocations: 0 / 0.5621 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.2854, allocations: 151.3 kB / 0.5622 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.2854, allocations: 27.92 kB / 0.5623 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.2855, allocations: 8 kB / 0.5623 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.2855, allocations: 15.92 kB / 0.5623 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.2856, allocations: 23.84 kB / 0.5623 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2856, allocations: 4 kB / 0.5623 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.2859, allocations: 163.8 kB / 0.5625 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.2859, allocations: 4 kB / 0.5625 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2859, allocations: 23.84 kB / 0.5625 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2861, allocations: 122.5 kB / 0.5626 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2862, allocations: 3.984 kB / 0.5626 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2862, allocations: 0 / 0.5626 GB, free: 3.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2862, allocations: 4 kB / 0.5626 GB, free: 3.512 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.0004614/0.2866, allocations: 367.1 kB / 0.563 GB, free: 3.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2867, allocations: 12.03 kB / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.2867, allocations: 8.891 kB / 0.563 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2868, allocations: 164.3 kB / 0.5632 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2868, allocations: 4.375 kB / 0.5632 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.2869, allocations: 8.375 kB / 0.5632 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.287, allocations: 74.16 kB / 0.5632 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.287, allocations: 3.938 kB / 0.5632 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.287, allocations: 11.94 kB / 0.5633 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.287, allocations: 0 / 0.5633 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.2871, allocations: 43.95 kB / 0.5633 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.2873, allocations: 169.6 kB / 0.5635 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2875, allocations: 86.42 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.2875, allocations: 24.84 kB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.2878, allocations: 109.1 kB / 0.5637 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2878, allocations: 30.56 kB / 0.5637 GB, free: 2.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2878, allocations: 0 / 0.5637 GB, free: 2.238 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.1435/0.4314, allocations: 5.61 MB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.4314, allocations: 59.27 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.4315, allocations: 93.86 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.4315, allocations: 37.62 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.4316, allocations: 80.52 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.4317, allocations: 79.28 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.4318, allocations: 57.8 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4319, allocations: 330.8 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.4323, allocations: 107.9 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.4327, allocations: 119.9 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.4342, allocations: 329 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4342, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001296/0.4355, allocations: 353.2 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4356, allocations: 8 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4356, allocations: 0 / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4356, allocations: 4 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.436, allocations: 75.86 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.436, allocations: 4 kB / 0.5708 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.4362, allocations: 27.95 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.4362, allocations: 19.92 kB / 0.5709 GB, free: 10.79 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.0001285/0.4364, allocations: 125.8 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.4364, allocations: 7.953 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.4379, allocations: 429.8 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4379, allocations: 4 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4379, allocations: 0 / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4379, allocations: 3.984 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.4403, allocations: 0.7795 MB / 0.5722 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4403, allocations: 7.938 kB / 0.5722 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.4406, allocations: 71.88 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4407, allocations: 4.062 kB / 0.5723 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4407, allocations: 15.98 kB / 0.5723 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.4407, allocations: 4 kB / 0.5723 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4407, allocations: 0 / 0.5723 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4419, allocations: 437.1 kB / 0.5727 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.442, allocations: 89 kB / 0.5728 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.442, allocations: 0 / 0.5728 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.4422, allocations: 35.95 kB / 0.5728 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.4423, allocations: 11.98 kB / 0.5728 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.4423, allocations: 15.98 kB / 0.5729 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.4423, allocations: 75.28 kB / 0.5729 GB, free: 8.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4423, allocations: 0 / 0.5729 GB, free: 8.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00162/0.444, allocations: 0.6324 MB / 0.5735 GB, free: 7.941 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.003136/0.4471, allocations: 294.6 kB / 0.5738 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.4479, allocations: 263.5 kB / 0.5741 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4479, allocations: 0 / 0.5741 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.4483, allocations: 123.8 kB / 0.5742 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4486, allocations: 12 kB / 0.5742 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.4496, allocations: 327.4 kB / 0.5745 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4499, allocations: 0.7009 MB / 0.5752 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.4502, allocations: 77.02 kB / 0.5753 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.4503, allocations: 51.39 kB / 0.5753 GB, free: 6.035 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4503, allocations: 0 / 0.5753 GB, free: 6.035 MB / 414.1 MB Notification: Performance of Templates: time 0.07461/0.5249, allocations: 53.96 MB / 0.628 GB, free: 4 kB / 462.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.568920258898288]