Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 193 kB / 22.98 MB, free: 5.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2359/0.2359, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 76.97 kB / 467.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1639, allocations: 61.02 MB / 0.5166 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001836/0.1657, allocations: 0.5055 MB / 0.517 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.1696, allocations: 2.084 MB / 0.5191 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.1696, allocations: 4 kB / 0.5191 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.1696, allocations: 0 / 0.5191 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.1697, allocations: 0 / 0.5191 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1709, allocations: 374.8 kB / 0.5194 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.1709, allocations: 8 kB / 0.5194 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.171, allocations: 0 / 0.5194 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.171, allocations: 4 kB / 0.5195 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02051/0.1915, allocations: 3.378 MB / 0.5228 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1915, allocations: 4 kB / 0.5228 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1916, allocations: 8 kB / 0.5228 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1916, allocations: 0 / 0.5228 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.1917, allocations: 4 kB / 0.5228 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1918, allocations: 7.984 kB / 0.5228 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.1919, allocations: 0 / 0.5228 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1919, allocations: 0 / 0.5228 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1919, allocations: 0 / 0.5228 GB, free: 0.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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004461/0.1923, allocations: 238.4 kB / 0.523 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1924, allocations: 12.03 kB / 0.523 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.1926, allocations: 88.2 kB / 0.5231 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1928, allocations: 181.8 kB / 0.5233 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1929, allocations: 150.9 kB / 0.5234 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.193, allocations: 158.6 kB / 0.5236 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.1931, allocations: 113 kB / 0.5237 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.1931, allocations: 79.28 kB / 0.5237 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.1932, allocations: 150.6 kB / 0.5239 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/0.1933, allocations: 150.6 kB / 0.524 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.1934, allocations: 154.6 kB / 0.5242 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1939, allocations: 413 kB / 0.5246 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.194, allocations: 177 kB / 0.5247 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.1941, allocations: 84.08 kB / 0.5248 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.837e-05/0.1941, allocations: 75.28 kB / 0.5249 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/0.1942, allocations: 109.8 kB / 0.525 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.1942, allocations: 0 / 0.525 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001137/0.1943, allocations: 37.62 kB / 0.525 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.1945, allocations: 182.1 kB / 0.5252 GB, free: 13.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1947, allocations: 93.86 kB / 0.5253 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1947, allocations: 29.64 kB / 0.5253 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.1948, allocations: 80.14 kB / 0.5254 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1948, allocations: 0 / 0.5254 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.1949, allocations: 13.72 kB / 0.5254 GB, free: 13.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.195, allocations: 315 kB / 0.5257 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-06/0.195, allocations: 0 / 0.5257 GB, free: 13.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.1951, allocations: 13.72 kB / 0.5257 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.1951, allocations: 83.27 kB / 0.5258 GB, free: 13.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/0.1952, allocations: 79.28 kB / 0.5259 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.904e-05/0.1952, allocations: 29.64 kB / 0.5259 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.1953, allocations: 87.22 kB / 0.526 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/0.1954, allocations: 75.28 kB / 0.5261 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-05/0.1954, allocations: 154.6 kB / 0.5262 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.1955, allocations: 79.22 kB / 0.5263 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-05/0.1956, allocations: 154.6 kB / 0.5264 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1957, allocations: 87.25 kB / 0.5265 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.1957, allocations: 79.28 kB / 0.5266 GB, free: 12.44 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 (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.0001764/0.1959, allocations: 264.4 kB / 0.5269 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.196, allocations: 104.9 kB / 0.527 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.1961, allocations: 111.9 kB / 0.5271 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-05/0.1962, allocations: 176.3 kB / 0.5272 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.625e-05/0.1963, allocations: 188.2 kB / 0.5274 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.1964, allocations: 176.3 kB / 0.5276 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1967, allocations: 376.2 kB / 0.5279 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.944e-05/0.1967, allocations: 108.9 kB / 0.528 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.1968, allocations: 101 kB / 0.5281 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.1969, allocations: 188.5 kB / 0.5283 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.197, allocations: 176.3 kB / 0.5285 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.278e-05/0.1971, allocations: 188.2 kB / 0.5287 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.659e-05/0.1971, allocations: 180.2 kB / 0.5288 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1974, allocations: 311.7 kB / 0.5291 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.1974, allocations: 116.9 kB / 0.5292 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.1976, allocations: 180.3 kB / 0.5294 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1977, allocations: 108.9 kB / 0.5295 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.1978, allocations: 184.3 kB / 0.5297 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.1979, allocations: 104.9 kB / 0.5298 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.1979, allocations: 75.28 kB / 0.5299 GB, free: 8.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1979, allocations: 0 / 0.5299 GB, free: 8.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1982, allocations: 4 kB / 0.5299 GB, free: 8.895 MB / 414.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.0001547/0.1984, allocations: 170.6 kB / 0.53 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.1984, allocations: 0 / 0.53 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1984, allocations: 0 / 0.53 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1984, allocations: 3.938 kB / 0.53 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1989, allocations: 471.5 kB / 0.5305 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.1992, allocations: 156.1 kB / 0.5306 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1996, allocations: 0.669 MB / 0.5313 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.1996, allocations: 4 kB / 0.5313 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.1997, allocations: 7.438 kB / 0.5313 GB, free: 7.359 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1997, allocations: 0 / 0.5313 GB, free: 7.359 MB / 414.1 MB Notification: Performance of Templates: time 0.002843/0.2025, allocations: 308.6 kB / 0.5316 GB, free: 7.059 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.540965193882585]