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.001785/0.001785, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002119/0.002119, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2335/0.2335, allocations: 46.93 MB / 360.8 MB, free: 3.938 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.002434/0.002434, allocations: 79.88 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3311, allocations: 66.08 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00158/0.3326, allocations: 0.5326 MB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.3334, allocations: 378.9 kB / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.3335, allocations: 0 / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.3335, allocations: 0 / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.3335, allocations: 7.938 kB / 0.5621 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.334, allocations: 135.4 kB / 0.5622 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.3341, allocations: 31.91 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.3341, allocations: 7.984 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.3341, allocations: 8 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.3342, allocations: 23.84 kB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3342, allocations: 4 kB / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.3345, allocations: 135.8 kB / 0.5624 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3345, allocations: 15.98 kB / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.3345, allocations: 11.94 kB / 0.5624 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3347, allocations: 126.2 kB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3347, allocations: 0 / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3347, allocations: 0 / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.3347, allocations: 4 kB / 0.5625 GB, free: 2.582 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.0004037/0.3351, allocations: 290 kB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3352, allocations: 12.03 kB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.3352, allocations: 4.891 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3353, allocations: 114.4 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3353, allocations: 12.38 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3354, allocations: 4.375 kB / 0.563 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3355, allocations: 62.22 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3355, allocations: 7.938 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3355, allocations: 4 kB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3355, allocations: 0 / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.3356, allocations: 39.95 kB / 0.5631 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.3358, allocations: 121.2 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3359, allocations: 85.86 kB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.3359, allocations: 24.84 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.3362, allocations: 31.95 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3362, allocations: 34.56 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3362, allocations: 0 / 0.5633 GB, free: 1.645 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.1556/0.4918, allocations: 5.626 MB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4919, allocations: 55.27 kB / 0.5689 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.379e-05/0.492, allocations: 97.86 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.492, allocations: 25.7 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.492, allocations: 80.52 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.4921, allocations: 83.27 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.4922, allocations: 61.67 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4924, allocations: 326.8 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.4927, allocations: 116 kB / 0.5696 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.4931, allocations: 115.8 kB / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.4945, allocations: 321 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4945, allocations: 0 / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001244/0.4957, allocations: 357.2 kB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.4958, allocations: 4 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4958, allocations: 3.984 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.4958, allocations: 0 / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.4962, allocations: 83.86 kB / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4962, allocations: 0 / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4964, allocations: 27.97 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.4964, allocations: 15.97 kB / 0.5705 GB, free: 10.18 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.0001479/0.4966, allocations: 125.7 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.4966, allocations: 7.953 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.498, allocations: 433.8 kB / 0.5711 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.498, allocations: 0 / 0.5711 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.498, allocations: 4 kB / 0.5711 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.498, allocations: 0 / 0.5711 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.5003, allocations: 0.6944 MB / 0.5718 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5003, allocations: 0 / 0.5718 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.5005, allocations: 83.92 kB / 0.5718 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.5005, allocations: 4 kB / 0.5718 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5006, allocations: 19.92 kB / 0.5719 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5006, allocations: 0 / 0.5719 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5006, allocations: 0 / 0.5719 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.5017, allocations: 429.2 kB / 0.5723 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.5018, allocations: 11.89 kB / 0.5723 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.5018, allocations: 4 kB / 0.5723 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.502, allocations: 27.97 kB / 0.5723 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.502, allocations: 15.97 kB / 0.5723 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.502, allocations: 15.98 kB / 0.5723 GB, free: 8.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.5021, allocations: 79.28 kB / 0.5724 GB, free: 8.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5021, allocations: 3.938 kB / 0.5724 GB, free: 8.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001952/0.504, allocations: 0.6323 MB / 0.573 GB, free: 7.527 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.002886/0.5069, allocations: 290.5 kB / 0.5733 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.5078, allocations: 267.7 kB / 0.5736 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5078, allocations: 0 / 0.5736 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.5081, allocations: 128 kB / 0.5737 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5084, allocations: 8 kB / 0.5737 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.5094, allocations: 335.2 kB / 0.574 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.5094, allocations: 80.05 kB / 0.5741 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.5097, allocations: 73.09 kB / 0.5742 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.5098, allocations: 47.39 kB / 0.5742 GB, free: 6.258 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5098, allocations: 0 / 0.5742 GB, free: 6.258 MB / 414.1 MB Notification: Performance of Templates: time 0.07696/0.5868, allocations: 54.09 MB / 0.627 GB, free: 104 kB / 462.1 MB " [Timeout remaining time 659] 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/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_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: 5.918673764914274]