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.001585/0.001585, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002061/0.002061, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.536/1.536, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2809/0.2809, allocations: 46.88 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 179] 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.002717/0.002717, allocations: 75.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3433, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001669/0.3449, allocations: 0.5405 MB / 0.5617 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.3458, allocations: 414.7 kB / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.3458, allocations: 0 / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.3459, allocations: 0 / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.3459, allocations: 7.938 kB / 0.5621 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.3464, allocations: 143.4 kB / 0.5623 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.3465, allocations: 31.97 kB / 0.5623 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3465, allocations: 0 / 0.5623 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.3466, allocations: 19.92 kB / 0.5623 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.3466, allocations: 19.92 kB / 0.5623 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3466, allocations: 0 / 0.5623 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.3469, allocations: 167.7 kB / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.347, allocations: 7.984 kB / 0.5625 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.347, allocations: 23.86 kB / 0.5625 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.3472, allocations: 126.6 kB / 0.5626 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3472, allocations: 0 / 0.5626 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3472, allocations: 0 / 0.5626 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3472, allocations: 0 / 0.5626 GB, free: 3.551 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.0004841/0.3477, allocations: 367.1 kB / 0.563 GB, free: 3.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3477, allocations: 8.031 kB / 0.563 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3478, allocations: 8.891 kB / 0.563 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3479, allocations: 168.3 kB / 0.5632 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.348, allocations: 12.38 kB / 0.5632 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.348, allocations: 4.375 kB / 0.5632 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3481, allocations: 66.22 kB / 0.5632 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3482, allocations: 7.938 kB / 0.5632 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3482, allocations: 4 kB / 0.5632 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3482, allocations: 0 / 0.5632 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.3483, allocations: 43.89 kB / 0.5633 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.3485, allocations: 177.6 kB / 0.5635 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3486, allocations: 82.48 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.3487, allocations: 32.84 kB / 0.5636 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.349, allocations: 105 kB / 0.5637 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.349, allocations: 34.56 kB / 0.5637 GB, free: 2.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.349, allocations: 0 / 0.5637 GB, free: 2.273 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.1375/0.4865, allocations: 5.612 MB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.4866, allocations: 63.2 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.4867, allocations: 89.86 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4867, allocations: 29.7 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.4867, allocations: 84.64 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/0.4868, allocations: 83.27 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.4869, allocations: 57.67 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4871, allocations: 318.8 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.4875, allocations: 111.9 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.4878, allocations: 115.9 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.4893, allocations: 329 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4893, allocations: 0 / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001245/0.4906, allocations: 357.2 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4906, allocations: 4 kB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.4906, allocations: 7.875 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4906, allocations: 0 / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.491, allocations: 79.91 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.491, allocations: 7.984 kB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.4912, allocations: 27.97 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.4913, allocations: 23.92 kB / 0.5709 GB, free: 10.81 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.0001245/0.4914, allocations: 117.8 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.4914, allocations: 7.953 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.4929, allocations: 425.8 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.4929, allocations: 4 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4929, allocations: 0 / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4929, allocations: 7.984 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.4953, allocations: 0.78 MB / 0.5722 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4953, allocations: 8 kB / 0.5722 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.4956, allocations: 71.92 kB / 0.5723 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4956, allocations: 4 kB / 0.5723 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.4956, allocations: 15.98 kB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4956, allocations: 0 / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4956, allocations: 0 / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4969, allocations: 429.1 kB / 0.5727 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.4969, allocations: 93.05 kB / 0.5728 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.497, allocations: 8 kB / 0.5728 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4972, allocations: 19.97 kB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.4972, allocations: 15.98 kB / 0.5728 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.4972, allocations: 15.98 kB / 0.5728 GB, free: 8.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.4973, allocations: 75.28 kB / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4973, allocations: 96 / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001678/0.4989, allocations: 0.6324 MB / 0.5735 GB, free: 7.988 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.00327/0.5022, allocations: 302.4 kB / 0.5738 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008475/0.503, allocations: 263.6 kB / 0.5741 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.503, allocations: 0 / 0.5741 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.5034, allocations: 119.8 kB / 0.5742 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5037, allocations: 15.94 kB / 0.5742 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.5047, allocations: 339.4 kB / 0.5745 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.505, allocations: 0.697 MB / 0.5752 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.5052, allocations: 81.08 kB / 0.5753 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.5054, allocations: 39.41 kB / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5054, allocations: 3.938 kB / 0.5753 GB, free: 6.07 MB / 414.1 MB Notification: Performance of Templates: time 0.07417/0.5795, allocations: 53.95 MB / 0.628 GB, free: 40 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 cvode -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: 6.095683495979756]