Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.3 MB, free: 9.125 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.12 MB / 343.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 79.08 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1431, allocations: 62.46 MB / 479.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001707/0.1448, allocations: 0.5397 MB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.1485, allocations: 2.194 MB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1485, allocations: 0 / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.1486, allocations: 0 / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.1486, allocations: 0 / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1497, allocations: 299.3 kB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.284e-05/0.1497, allocations: 0 / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.1498, allocations: 3.984 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.1498, allocations: 7.984 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04214/0.1919, allocations: 3.196 MB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.192, allocations: 0 / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1921, allocations: 7.984 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1921, allocations: 3.938 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.1921, allocations: 3.984 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.1922, allocations: 12 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1923, allocations: 4 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1923, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1923, allocations: 4 kB / 485.6 MB, free: 15.88 MB / 366.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.0004072/0.1927, allocations: 315.5 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1927, allocations: 8.875 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.193, allocations: 88.2 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1932, allocations: 235.7 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.432e-05/0.1933, allocations: 158.9 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.1933, allocations: 154.7 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.1934, allocations: 101 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.1935, allocations: 75.28 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.1936, allocations: 150.6 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/0.1937, allocations: 162.4 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.1938, allocations: 154.6 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.1941, allocations: 445.9 kB / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.799e-05/0.1942, allocations: 169.1 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.1942, allocations: 84.08 kB / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.1943, allocations: 83.28 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/0.1944, allocations: 109.8 kB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1944, allocations: 0 / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.1945, allocations: 29.7 kB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1946, allocations: 178.1 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1947, allocations: 97.84 kB / 488.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1947, allocations: 29.83 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.1948, allocations: 80.14 kB / 488.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1948, allocations: 0 / 488.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1948, allocations: 13.72 kB / 488.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.195, allocations: 314.8 kB / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.195, allocations: 0 / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.195, allocations: 17.7 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.1951, allocations: 83.31 kB / 488.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/0.1951, allocations: 75.28 kB / 489 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.886e-05/0.1952, allocations: 33.64 kB / 489 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.1952, allocations: 79.28 kB / 489.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/0.1953, allocations: 79.27 kB / 489.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.053e-05/0.1954, allocations: 154.5 kB / 489.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.1954, allocations: 79.28 kB / 489.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.359e-05/0.1955, allocations: 158.5 kB / 489.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.1956, allocations: 79.28 kB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.1956, allocations: 75.28 kB / 489.7 MB, free: 11.56 MB / 366.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.0001406/0.1958, allocations: 264.3 kB / 490 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.1959, allocations: 108.9 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.1959, allocations: 112.1 kB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.482e-05/0.196, allocations: 188.2 kB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.935e-05/0.1961, allocations: 176.3 kB / 490.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.049e-05/0.1962, allocations: 176.3 kB / 490.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1965, allocations: 409.1 kB / 491.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-05/0.1965, allocations: 105 kB / 491.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.1966, allocations: 116.9 kB / 491.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.134e-05/0.1967, allocations: 180.2 kB / 491.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.1968, allocations: 188.2 kB / 491.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.706e-05/0.1969, allocations: 176.3 kB / 491.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.289e-05/0.1969, allocations: 176.3 kB / 492 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1971, allocations: 316 kB / 492.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1973, allocations: 190.1 kB / 492.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.1973, allocations: 176.3 kB / 492.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1975, allocations: 101 kB / 492.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/0.1976, allocations: 196.1 kB / 493 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.1976, allocations: 105 kB / 493.1 MB, free: 7.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.1977, allocations: 75.28 kB / 493.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1977, allocations: 0 / 493.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.198, allocations: 4 kB / 493.2 MB, free: 7.879 MB / 366.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.0001478/0.1981, allocations: 162.5 kB / 493.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.911e-05/0.1982, allocations: 7.938 kB / 493.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.1982, allocations: 4.094 kB / 493.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1982, allocations: 0 / 493.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.1987, allocations: 0.5263 MB / 493.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.199, allocations: 150.2 kB / 494 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1993, allocations: 0.6692 MB / 494.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.1993, allocations: 7.938 kB / 494.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-06/0.1993, allocations: 7.438 kB / 494.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1993, allocations: 4 kB / 494.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of Templates: time 0.002812/0.2022, allocations: 284.6 kB / 495 MB, free: 6 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches