Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001758/0.001758, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002155/0.002155, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2826/0.2826, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.89 kB / 0.4914 GB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.162, allocations: 65.99 MB / 0.5558 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002189/0.1642, allocations: 487.1 kB / 0.5563 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.1682, allocations: 2.15 MB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.1682, allocations: 0 / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.1682, allocations: 0 / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.283e-05/0.1682, allocations: 0 / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1695, allocations: 402.7 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.493e-05/0.1696, allocations: 8 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.1696, allocations: 4 kB / 0.5588 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.1696, allocations: 7.922 kB / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02227/0.1919, allocations: 3.371 MB / 0.5621 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1919, allocations: 4 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.073e-05/0.192, allocations: 4 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.192, allocations: 4 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.192, allocations: 3.984 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1922, allocations: 4 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1922, allocations: 4 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1922, allocations: 0 / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1922, allocations: 3.938 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000387/0.1926, allocations: 319.5 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1926, allocations: 8.031 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1929, allocations: 88.2 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.193, allocations: 239.7 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.1931, allocations: 154.9 kB / 0.5629 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.1932, allocations: 158.6 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.1933, allocations: 101 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.1933, allocations: 75.28 kB / 0.5632 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.1934, allocations: 154.6 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/0.1935, allocations: 150.6 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.1935, allocations: 154.6 kB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1939, allocations: 445.9 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.194, allocations: 173.1 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.194, allocations: 84.08 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.1941, allocations: 75.28 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/0.1942, allocations: 109.8 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1942, allocations: 0 / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.663e-05/0.1942, allocations: 33.64 kB / 0.5645 GB, free: 12.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.1944, allocations: 186 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1945, allocations: 97.84 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1945, allocations: 25.7 kB / 0.5648 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.1946, allocations: 80.14 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1946, allocations: 0 / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.1946, allocations: 13.72 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1947, allocations: 310.8 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.1947, allocations: 8.125 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.1948, allocations: 9.719 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.1948, allocations: 79.28 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-05/0.1949, allocations: 75.28 kB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.427e-05/0.1949, allocations: 33.62 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.195, allocations: 90.03 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/0.195, allocations: 75.28 kB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.016e-05/0.1951, allocations: 158.6 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.1952, allocations: 79.22 kB / 0.5658 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.689e-05/0.1952, allocations: 158.5 kB / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1953, allocations: 83.22 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.1954, allocations: 75.28 kB / 0.5661 GB, free: 11.24 MB / 430.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 (0): * Single equations (assignments): 0 * 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.0001738/0.1955, allocations: 270.6 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.1956, allocations: 113 kB / 0.5665 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.1957, allocations: 111.8 kB / 0.5666 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.402e-05/0.1958, allocations: 180.3 kB / 0.5667 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.312e-05/0.1959, allocations: 184.2 kB / 0.5669 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.204e-05/0.196, allocations: 180.2 kB / 0.5671 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1962, allocations: 405.2 kB / 0.5675 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.628e-05/0.1963, allocations: 104.9 kB / 0.5676 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1963, allocations: 101 kB / 0.5677 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-05/0.1964, allocations: 188.2 kB / 0.5678 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/0.1965, allocations: 180.6 kB / 0.568 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.3e-05/0.1966, allocations: 180.3 kB / 0.5682 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.947e-05/0.1967, allocations: 184.2 kB / 0.5684 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1969, allocations: 311.7 kB / 0.5687 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.197, allocations: 178.1 kB / 0.5688 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1971, allocations: 180.3 kB / 0.569 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1972, allocations: 108.9 kB / 0.5691 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.1973, allocations: 188.2 kB / 0.5693 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.1974, allocations: 108.9 kB / 0.5694 GB, free: 7.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.1974, allocations: 75.28 kB / 0.5695 GB, free: 7.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1974, allocations: 0 / 0.5695 GB, free: 7.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1977, allocations: 0 / 0.5695 GB, free: 7.566 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001455/0.1978, allocations: 174.6 kB / 0.5696 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.296e-05/0.1979, allocations: 3.938 kB / 0.5696 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1979, allocations: 0 / 0.5696 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.1979, allocations: 0 / 0.5696 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.1983, allocations: 463.6 kB / 0.5701 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.1985, allocations: 160.3 kB / 0.5702 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1988, allocations: 0.669 MB / 0.5709 GB, free: 6.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.1988, allocations: 4 kB / 0.5709 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.1989, allocations: 7.438 kB / 0.5709 GB, free: 6.031 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1989, allocations: 0 / 0.5709 GB, free: 6.031 MB / 430.1 MB Notification: Performance of Templates: time 0.002777/0.2016, allocations: 299.9 kB / 0.5712 GB, free: 5.742 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.301149807870388]