Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009736/0.0009736, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004232/0.004232, allocations: 163 kB / 24.7 MB, free: 9.418 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.8935/0.8935, 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.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.2226/0.2226, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 443.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.438e-05, allocations: 6.219 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.1868/0.1868, allocations: 2.919 MB / 446.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.188, allocations: 1.008 MB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.1882, allocations: 11.94 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1883, allocations: 68.48 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1884, allocations: 134.9 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1888, allocations: 184.7 kB / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1891, allocations: 483.2 kB / 448.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1893, allocations: 78.28 kB / 448.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1895, allocations: 251.3 kB / 448.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1896, allocations: 137.4 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.1897, allocations: 32.25 kB / 448.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.1898, allocations: 57.05 kB / 448.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1898, allocations: 84.08 kB / 448.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.1899, allocations: 137.5 kB / 449 MB, free: 41.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1902, allocations: 458.2 kB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1902, allocations: 0 / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1902, allocations: 0 / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1902, allocations: 0 / 449.4 MB, free: 41.73 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007247/0.191, allocations: 0.6206 MB / 450 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.191, allocations: 8.656 kB / 450 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.1912, allocations: 68.94 kB / 450.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.1915, allocations: 244.1 kB / 450.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.1916, allocations: 27.72 kB / 450.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.1916, allocations: 41.5 kB / 450.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.192, allocations: 357 kB / 450.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.192, allocations: 14.98 kB / 450.8 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.192, allocations: 17.78 kB / 450.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.192, allocations: 8.781 kB / 450.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1923, allocations: 245.9 kB / 451 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1934, allocations: 1.357 MB / 452.4 MB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1939, allocations: 396.8 kB / 452.8 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.194, allocations: 139 kB / 452.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.194, allocations: 5.562 kB / 452.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.194, allocations: 40.75 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.194, allocations: 6.844 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001686/0.1957, allocations: 1.529 MB / 454.5 MB, free: 38.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1958, allocations: 189.5 kB / 454.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1959, allocations: 244.7 kB / 454.9 MB, free: 37.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1959, allocations: 33.7 kB / 454.9 MB, free: 37.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.196, allocations: 207.5 kB / 455.2 MB, free: 37.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.1961, allocations: 193.8 kB / 455.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.1962, allocations: 90.48 kB / 455.4 MB, free: 37.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.1963, allocations: 352.2 kB / 455.8 MB, free: 37.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1964, allocations: 119.8 kB / 455.9 MB, free: 37.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.1966, allocations: 296.8 kB / 456.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.1971, allocations: 457.8 kB / 456.6 MB, free: 36.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1971, allocations: 0 / 456.6 MB, free: 36.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000532/0.1976, allocations: 497.7 kB / 457.1 MB, free: 36.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1976, allocations: 9.219 kB / 457.1 MB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1976, allocations: 9.75 kB / 457.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.1977, allocations: 12.72 kB / 457.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1979, allocations: 143 kB / 457.3 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.198, allocations: 12.91 kB / 457.3 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1981, allocations: 20.66 kB / 457.3 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1981, allocations: 26.52 kB / 457.3 MB, free: 36.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001245/0.1982, allocations: 169.8 kB / 457.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.1983, allocations: 41.61 kB / 457.5 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.1985, allocations: 123.9 kB / 457.7 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1985, allocations: 9.688 kB / 457.7 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1985, allocations: 7.125 kB / 457.7 MB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1985, allocations: 2.469 kB / 457.7 MB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1996, allocations: 1.134 MB / 458.8 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1996, allocations: 5.844 kB / 458.8 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.1998, allocations: 115.8 kB / 458.9 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1998, allocations: 9.688 kB / 459 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.1999, allocations: 12.59 kB / 459 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1999, allocations: 13.03 kB / 459 MB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1999, allocations: 2.969 kB / 459 MB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.2004, allocations: 0.9979 MB / 460 MB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.2004, allocations: 39.64 kB / 460 MB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2004, allocations: 21.58 kB / 460 MB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2006, allocations: 10.59 kB / 460 MB, free: 34.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.2007, allocations: 44.23 kB / 460.1 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2007, allocations: 20.75 kB / 460.1 MB, free: 34.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.2008, allocations: 170.8 kB / 460.3 MB, free: 34.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2008, allocations: 3.938 kB / 460.3 MB, free: 34.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.2011, allocations: 97.06 kB / 460.4 MB, free: 34.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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 8.389e-05/0.2012, allocations: 120.7 kB / 460.5 MB, free: 34.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.2015, allocations: 340.9 kB / 460.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2015, allocations: 0 / 460.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.2017, allocations: 164 kB / 461 MB, free: 33.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.2023, allocations: 94.14 kB / 461.1 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2035, allocations: 1.21 MB / 462.3 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2036, allocations: 206.5 kB / 462.5 MB, free: 32.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.2036, allocations: 37.25 kB / 462.5 MB, free: 32.84 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2036, allocations: 4 kB / 462.5 MB, free: 32.84 MB / 410.7 MB Notification: Performance of Templates: time 0.004029/0.2077, allocations: 4.962 MB / 467.5 MB, free: 32.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.982325339689851]