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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 210.3 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2267/0.2267, allocations: 46.88 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 90] 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.002289/0.002289, allocations: 75.88 kB / 0.4949 GB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2834, allocations: 65.99 MB / 0.5594 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001626/0.2851, allocations: 0.5274 MB / 0.5599 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000771/0.2858, allocations: 420.5 kB / 0.5603 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.2859, allocations: 0 / 0.5603 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.2859, allocations: 0 / 0.5603 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.774e-05/0.2859, allocations: 3.938 kB / 0.5603 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2864, allocations: 147.4 kB / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.2865, allocations: 23.92 kB / 0.5605 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.2865, allocations: 4 kB / 0.5605 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.2865, allocations: 23.91 kB / 0.5605 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.2866, allocations: 19.92 kB / 0.5605 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2866, allocations: 4 kB / 0.5605 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.2869, allocations: 159.8 kB / 0.5607 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2869, allocations: 8 kB / 0.5607 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.2869, allocations: 23.84 kB / 0.5607 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2871, allocations: 122.2 kB / 0.5608 GB, free: 3.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2871, allocations: 0 / 0.5608 GB, free: 3.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2871, allocations: 0 / 0.5608 GB, free: 3.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2871, allocations: 0 / 0.5608 GB, free: 3.734 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.0004198/0.2875, allocations: 371.1 kB / 0.5612 GB, free: 3.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2876, allocations: 8.031 kB / 0.5612 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2876, allocations: 8.891 kB / 0.5612 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2877, allocations: 172.3 kB / 0.5614 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2878, allocations: 8.312 kB / 0.5614 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.2878, allocations: 8.375 kB / 0.5614 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.2879, allocations: 65.73 kB / 0.5614 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2879, allocations: 11.92 kB / 0.5614 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2879, allocations: 0 / 0.5614 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2879, allocations: 0 / 0.5614 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.053e-05/0.288, allocations: 51.91 kB / 0.5615 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.2882, allocations: 173.6 kB / 0.5617 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2884, allocations: 74.55 kB / 0.5617 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.2884, allocations: 28.84 kB / 0.5618 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.2887, allocations: 101.1 kB / 0.5619 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2887, allocations: 38.56 kB / 0.5619 GB, free: 2.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.2887, allocations: 0 / 0.5619 GB, free: 2.461 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.1256/0.4143, allocations: 5.613 MB / 0.5674 GB, free: 12.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.4143, allocations: 67.2 kB / 0.5674 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.4144, allocations: 89.86 kB / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.4144, allocations: 33.7 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.4145, allocations: 80.52 kB / 0.5676 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.4145, allocations: 83.27 kB / 0.5677 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4146, allocations: 57.67 kB / 0.5678 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4148, allocations: 326.8 kB / 0.5681 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.4151, allocations: 112 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.4155, allocations: 115.1 kB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.4169, allocations: 324.5 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4169, allocations: 0 / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001186/0.4181, allocations: 354.4 kB / 0.5689 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4181, allocations: 7.938 kB / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4181, allocations: 0 / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4181, allocations: 4 kB / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.4185, allocations: 79.92 kB / 0.569 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4185, allocations: 4 kB / 0.569 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.4187, allocations: 27.95 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.4187, allocations: 15.92 kB / 0.5691 GB, free: 11.01 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.0001199/0.4188, allocations: 125.8 kB / 0.5692 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.4189, allocations: 7.953 kB / 0.5692 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.4203, allocations: 434.5 kB / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4203, allocations: 0 / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4203, allocations: 0 / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4203, allocations: 4 kB / 0.5696 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.4225, allocations: 0.78 MB / 0.5704 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4226, allocations: 7.922 kB / 0.5704 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.4228, allocations: 75.94 kB / 0.5705 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4228, allocations: 3.938 kB / 0.5705 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.4229, allocations: 19.97 kB / 0.5705 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4229, allocations: 4.062 kB / 0.5705 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4229, allocations: 4 kB / 0.5705 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.424, allocations: 424.7 kB / 0.5709 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.4241, allocations: 81.06 kB / 0.571 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.4241, allocations: 8 kB / 0.571 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4243, allocations: 23.97 kB / 0.571 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.4244, allocations: 19.97 kB / 0.571 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.4244, allocations: 16 kB / 0.571 GB, free: 8.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.4244, allocations: 79.27 kB / 0.5711 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4244, allocations: 0 / 0.5711 GB, free: 8.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4261, allocations: 0.6284 MB / 0.5717 GB, free: 8.172 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.002885/0.429, allocations: 298.5 kB / 0.572 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008446/0.4298, allocations: 255.6 kB / 0.5723 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4298, allocations: 0 / 0.5723 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.4302, allocations: 131.9 kB / 0.5724 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4304, allocations: 8 kB / 0.5724 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.4314, allocations: 357 kB / 0.5727 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4317, allocations: 0.6931 MB / 0.5734 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4319, allocations: 51.39 kB / 0.5735 GB, free: 6.316 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4319, allocations: 0 / 0.5735 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Templates: time 0.02234/0.4542, allocations: 14.16 MB / 0.5873 GB, free: 8.184 MB / 430.1 MB [Timeout remaining time 660] 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 -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