Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00146/0.00146, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001578/0.001578, allocations: 217 kB / 24.5 MB, free: 4.133 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.319/1.319, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.92 MB / 361.5 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 79.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2877, allocations: 66.07 MB / 0.5619 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001556/0.2893, allocations: 0.542 MB / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.29, allocations: 406.8 kB / 0.5629 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.29, allocations: 4 kB / 0.5629 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.29, allocations: 3.938 kB / 0.5629 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.396e-05/0.2901, allocations: 4 kB / 0.5629 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.2905, allocations: 147.3 kB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.2906, allocations: 27.92 kB / 0.563 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.2906, allocations: 0 / 0.563 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.864e-05/0.2906, allocations: 19.92 kB / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.2907, allocations: 19.92 kB / 0.5631 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2907, allocations: 8 kB / 0.5631 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.291, allocations: 163.8 kB / 0.5632 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.291, allocations: 3.984 kB / 0.5632 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.291, allocations: 23.86 kB / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2912, allocations: 122.2 kB / 0.5634 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2912, allocations: 0 / 0.5634 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2912, allocations: 0 / 0.5634 GB, free: 2.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2912, allocations: 0 / 0.5634 GB, free: 2.773 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.0003742/0.2916, allocations: 290 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2916, allocations: 16.02 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.2916, allocations: 8.891 kB / 0.5637 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2917, allocations: 110.5 kB / 0.5638 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2918, allocations: 8.375 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2918, allocations: 16.3 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.2919, allocations: 58.23 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2919, allocations: 11.88 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2919, allocations: 3.984 kB / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2919, allocations: 0 / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.292, allocations: 43.97 kB / 0.5639 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.2922, allocations: 148.7 kB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.2923, allocations: 82.48 kB / 0.5641 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.2924, allocations: 28.78 kB / 0.5642 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.2926, allocations: 27.95 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2926, allocations: 38.56 kB / 0.5642 GB, free: 1.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2926, allocations: 0 / 0.5642 GB, free: 1.777 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.1155/0.4082, allocations: 5.611 MB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.4082, allocations: 59.27 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.4083, allocations: 97.8 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.4083, allocations: 29.7 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.4084, allocations: 80.52 kB / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.4084, allocations: 87.25 kB / 0.5701 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.4085, allocations: 61.67 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4087, allocations: 326.8 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.409, allocations: 120 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.4093, allocations: 107.9 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4107, allocations: 329 kB / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4107, allocations: 0 / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001119/0.4118, allocations: 353.2 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4118, allocations: 8 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4118, allocations: 0 / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4118, allocations: 0 / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.4122, allocations: 87.84 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4122, allocations: 0 / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.4124, allocations: 23.97 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.4124, allocations: 23.91 kB / 0.5714 GB, free: 10.31 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.000112/0.4125, allocations: 119.2 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4126, allocations: 7.953 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.4139, allocations: 433.8 kB / 0.572 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4139, allocations: 4 kB / 0.572 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4139, allocations: 0 / 0.572 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4139, allocations: 0 / 0.572 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.416, allocations: 0.7442 MB / 0.5727 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.416, allocations: 7.938 kB / 0.5727 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4163, allocations: 75.86 kB / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4163, allocations: 0 / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.4163, allocations: 12 kB / 0.5728 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.4163, allocations: 11.98 kB / 0.5728 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4163, allocations: 3.938 kB / 0.5728 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4174, allocations: 429 kB / 0.5732 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.4174, allocations: 11.95 kB / 0.5732 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4174, allocations: 3.984 kB / 0.5732 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.4176, allocations: 27.97 kB / 0.5732 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.4176, allocations: 7.984 kB / 0.5733 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4177, allocations: 23.98 kB / 0.5733 GB, free: 8.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.4177, allocations: 75.28 kB / 0.5734 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4177, allocations: 0 / 0.5734 GB, free: 8.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001557/0.4193, allocations: 0.6362 MB / 0.574 GB, free: 7.602 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.0027/0.422, allocations: 294.5 kB / 0.5743 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.4227, allocations: 259.6 kB / 0.5745 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4227, allocations: 0 / 0.5745 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.423, allocations: 131.9 kB / 0.5746 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4233, allocations: 10.75 kB / 0.5746 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.4242, allocations: 349.1 kB / 0.575 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4245, allocations: 0.7008 MB / 0.5757 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4246, allocations: 51.39 kB / 0.5757 GB, free: 5.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4246, allocations: 0 / 0.5757 GB, free: 5.75 MB / 414.1 MB Notification: Performance of Templates: time 0.02125/0.4459, allocations: 14.18 MB / 0.5895 GB, free: 7.605 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.041627096943557]