Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.001513/0.001513, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001579/0.001579, allocations: 217.5 kB / 22.99 MB, free: 4.977 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.666/1.666, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2417/0.2417, allocations: 44.27 MB / 330.3 MB, free: 9.305 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.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002945/0.002945, allocations: 75.84 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1679, allocations: 61.04 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00599/0.1739, allocations: 2.593 MB / 0.5192 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1766, allocations: 0.9396 MB / 0.5201 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.1769, allocations: 11.88 kB / 0.5201 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.1772, allocations: 43.52 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.1777, allocations: 111 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.1785, allocations: 147.6 kB / 0.5204 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.1791, allocations: 378.2 kB / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1794, allocations: 61.31 kB / 0.5208 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.1797, allocations: 151.4 kB / 0.5209 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1799, allocations: 127.3 kB / 0.5211 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.18, allocations: 24 kB / 0.5211 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1802, allocations: 51.92 kB / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.1803, allocations: 63.75 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.1805, allocations: 139.4 kB / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.1812, allocations: 374.4 kB / 0.5217 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1812, allocations: 8 kB / 0.5217 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1812, allocations: 0 / 0.5217 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1812, allocations: 0 / 0.5217 GB, free: 1.477 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001291/0.1825, allocations: 0.5481 MB / 0.5222 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1826, allocations: 12.03 kB / 0.5222 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.1829, allocations: 52.69 kB / 0.5223 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.1834, allocations: 213.7 kB / 0.5225 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1835, allocations: 21.03 kB / 0.5225 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.1836, allocations: 40.31 kB / 0.5225 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.1841, allocations: 306.7 kB / 0.5228 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1842, allocations: 3.953 kB / 0.5228 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1842, allocations: 16 kB / 0.5229 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1842, allocations: 8 kB / 0.5229 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.1846, allocations: 187.8 kB / 0.523 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.1868, allocations: 1.145 MB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.1874, allocations: 329.1 kB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1876, allocations: 100.3 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1876, allocations: 8 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.1877, allocations: 50.48 kB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/0.1877, allocations: 0 / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002719/0.1904, allocations: 1.204 MB / 0.5258 GB, free: 12.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1905, allocations: 158.2 kB / 0.526 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1908, allocations: 212.9 kB / 0.5262 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.1908, allocations: 33.7 kB / 0.5262 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.1911, allocations: 188.4 kB / 0.5264 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.1912, allocations: 158.7 kB / 0.5265 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1914, allocations: 82.19 kB / 0.5266 GB, free: 12.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1915, allocations: 342.8 kB / 0.5269 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1918, allocations: 96.95 kB / 0.527 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.1921, allocations: 238.9 kB / 0.5272 GB, free: 11.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.1927, allocations: 382.1 kB / 0.5276 GB, free: 10.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.1927, allocations: 8 kB / 0.5276 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007234/0.1934, allocations: 404.9 kB / 0.528 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1934, allocations: 8 kB / 0.528 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1934, allocations: 4 kB / 0.528 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.1935, allocations: 11.98 kB / 0.528 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.1939, allocations: 115.8 kB / 0.5281 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.1939, allocations: 11.94 kB / 0.5281 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1941, allocations: 23.89 kB / 0.5282 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1941, allocations: 20 kB / 0.5282 GB, free: 10.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001861/0.1943, allocations: 162 kB / 0.5283 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.1945, allocations: 31.81 kB / 0.5284 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1947, allocations: 115.3 kB / 0.5285 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1947, allocations: 4 kB / 0.5285 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1947, allocations: 7.938 kB / 0.5285 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.1948, allocations: 3.984 kB / 0.5285 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1965, allocations: 0.9359 MB / 0.5294 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1965, allocations: 0 / 0.5294 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.1969, allocations: 99.89 kB / 0.5295 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.1969, allocations: 4 kB / 0.5295 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.197, allocations: 8 kB / 0.5295 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.197, allocations: 11.94 kB / 0.5295 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.197, allocations: 0 / 0.5295 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.1979, allocations: 0.834 MB / 0.5303 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.198, allocations: 39.81 kB / 0.5304 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.198, allocations: 8 kB / 0.5304 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.1983, allocations: 20.11 kB / 0.5304 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1984, allocations: 39.83 kB / 0.5304 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1984, allocations: 8 kB / 0.5305 GB, free: 7.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1986, allocations: 152.5 kB / 0.5306 GB, free: 7.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1986, allocations: 0 / 0.5306 GB, free: 7.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006076/0.1992, allocations: 80 kB / 0.5307 GB, free: 7.586 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.0001481/0.1993, allocations: 119.1 kB / 0.5308 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.1999, allocations: 272 kB / 0.531 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1999, allocations: 0 / 0.531 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2001, allocations: 124.9 kB / 0.5312 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.201, allocations: 72.52 kB / 0.5312 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.2032, allocations: 1.263 MB / 0.5325 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2035, allocations: 181.9 kB / 0.5326 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.2037, allocations: 43.2 kB / 0.5327 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2038, allocations: 27.44 kB / 0.5327 GB, free: 5.41 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2038, allocations: 0 / 0.5327 GB, free: 5.41 MB / 414.1 MB Notification: Performance of Templates: time 0.009525/0.2133, allocations: 3.48 MB / 0.5361 GB, free: 1.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.753464234992862]