Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007554/0.0007554, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003919/0.003919, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8981/0.8981, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2393/0.2393, allocations: 32.79 MB / 294.2 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 440.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.243e-05, allocations: 2.281 kB / 440.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001002/0.001025, allocations: 0.5384 MB / 441.4 MB, free: 3.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005367/0.001562, allocations: 338.7 kB / 441.7 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.001587, allocations: 0 / 441.7 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.001606, allocations: 7.875 kB / 441.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.423e-05/0.001641, allocations: 3.938 kB / 441.7 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.00199, allocations: 106.4 kB / 441.8 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.002044, allocations: 23.92 kB / 441.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.002082, allocations: 0 / 441.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.002116, allocations: 19.92 kB / 441.9 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.002165, allocations: 11.97 kB / 441.9 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.00218, allocations: 4 kB / 441.9 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.002337, allocations: 115.9 kB / 442 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.00235, allocations: 3.938 kB / 442 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002368, allocations: 15.98 kB / 442 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.002519, allocations: 119.6 kB / 442.1 MB, free: 2.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002521, allocations: 0 / 442.1 MB, free: 2.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002522, allocations: 0 / 442.1 MB, free: 2.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.002526, allocations: 0 / 442.1 MB, free: 2.508 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003238/0.00285, allocations: 290 kB / 442.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.002883, allocations: 8.031 kB / 442.4 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.002912, allocations: 8.891 kB / 442.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.002982, allocations: 109.7 kB / 442.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002992, allocations: 4.375 kB / 442.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.003016, allocations: 16.33 kB / 442.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.00311, allocations: 54.17 kB / 442.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.003119, allocations: 192 / 442.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.003128, allocations: 4.375 kB / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003133, allocations: 4.375 kB / 442.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.003184, allocations: 27.86 kB / 442.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.003295, allocations: 121.3 kB / 442.8 MB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.003455, allocations: 46.56 kB / 442.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.00349, allocations: 28.83 kB / 442.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.003644, allocations: 36.23 kB / 442.9 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.00366, allocations: 34.5 kB / 442.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.003661, allocations: 0 / 442.9 MB, free: 1.617 MB / 410.7 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1868/0.1905, allocations: 2.573 MB / 445.5 MB, free: 45.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1905, allocations: 53.66 kB / 445.5 MB, free: 45.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.973e-05/0.1906, allocations: 104.7 kB / 445.6 MB, free: 45.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1906, allocations: 28.7 kB / 445.7 MB, free: 45.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.1906, allocations: 83.14 kB / 445.7 MB, free: 45.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.1906, allocations: 67.33 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.1907, allocations: 58.69 kB / 445.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.1907, allocations: 320.7 kB / 446.2 MB, free: 45.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1909, allocations: 173 kB / 446.3 MB, free: 45.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1911, allocations: 179.7 kB / 446.5 MB, free: 45.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.1916, allocations: 423.3 kB / 446.9 MB, free: 45.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1916, allocations: 0 / 446.9 MB, free: 45.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005277/0.1922, allocations: 465.2 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1922, allocations: 2.812 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1922, allocations: 6.719 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1922, allocations: 0 / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.1924, allocations: 69.69 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1924, allocations: 3.969 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.1925, allocations: 21.28 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1925, allocations: 14.34 kB / 447.5 MB, free: 44.85 MB / 410.7 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 (19): * Single equations (assignments): 19 * 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 6.877e-05/0.1926, allocations: 124.2 kB / 447.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1926, allocations: 9.828 kB / 447.6 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/0.1933, allocations: 0.5397 MB / 448.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1933, allocations: 2.719 kB / 448.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1933, allocations: 0 / 448.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1933, allocations: 0 / 448.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1943, allocations: 0.7891 MB / 449 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1943, allocations: 0 / 449 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1945, allocations: 67.8 kB / 449 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1945, allocations: 6.844 kB / 449 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1945, allocations: 17.64 kB / 449 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1945, allocations: 2.875 kB / 449.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1945, allocations: 6.719 kB / 449.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1949, allocations: 455.1 kB / 449.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.1949, allocations: 13.61 kB / 449.5 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.195, allocations: 6.875 kB / 449.5 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1951, allocations: 22.89 kB / 449.5 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1951, allocations: 19.42 kB / 449.6 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1951, allocations: 21.39 kB / 449.6 MB, free: 43.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.1951, allocations: 78.06 kB / 449.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1951, allocations: 0 / 449.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006064/0.1957, allocations: 321.2 kB / 450 MB, free: 43.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.0008384/0.1965, allocations: 257 kB / 450.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004424/0.197, allocations: 333.3 kB / 450.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.197, allocations: 0 / 450.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1972, allocations: 141.1 kB / 450.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1974, allocations: 17.09 kB / 450.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.198, allocations: 437 kB / 451.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.198, allocations: 77.16 kB / 451.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1982, allocations: 61.17 kB / 451.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1982, allocations: 0 / 451.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of Templates: time 0.006214/0.2044, allocations: 6.582 MB / 457.8 MB, free: 42.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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: 4.794040803797543]