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.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.001946/0.001946, 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.002608/0.002608, allocations: 190.8 kB / 22.98 MB, free: 5.016 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.671/1.671, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2517/0.2517, allocations: 44.23 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.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.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.003229/0.003229, allocations: 78.55 kB / 467.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1861, allocations: 61.03 MB / 0.5166 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00513/0.1912, allocations: 2.799 MB / 0.5193 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1935, allocations: 1.01 MB / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.1938, allocations: 11.88 kB / 0.5203 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.194, allocations: 47.45 kB / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1943, allocations: 115 kB / 0.5205 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.1949, allocations: 147.6 kB / 0.5206 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.1955, allocations: 378.2 kB / 0.521 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.1957, allocations: 69.33 kB / 0.521 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.1959, allocations: 139.5 kB / 0.5212 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.1962, allocations: 151.3 kB / 0.5213 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-05/0.1963, allocations: 24 kB / 0.5213 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1964, allocations: 43.98 kB / 0.5214 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.1965, allocations: 79.62 kB / 0.5214 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.1967, allocations: 155.2 kB / 0.5216 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.1972, allocations: 374.4 kB / 0.5219 GB, free: 1.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1973, allocations: 4 kB / 0.5219 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1973, allocations: 0 / 0.5219 GB, free: 1.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1973, allocations: 4 kB / 0.5219 GB, free: 1.34 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.001445/0.1987, allocations: 0.5442 MB / 0.5225 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.1988, allocations: 16.03 kB / 0.5225 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.1991, allocations: 52.69 kB / 0.5225 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.1997, allocations: 213.7 kB / 0.5227 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.1997, allocations: 21.03 kB / 0.5228 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.1998, allocations: 36.31 kB / 0.5228 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.2004, allocations: 306.6 kB / 0.5231 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.2004, allocations: 7.953 kB / 0.5231 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.2005, allocations: 8 kB / 0.5231 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2005, allocations: 8 kB / 0.5231 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.2009, allocations: 200 kB / 0.5233 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.2029, allocations: 1.246 MB / 0.5245 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.2035, allocations: 325.1 kB / 0.5248 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.2037, allocations: 100.2 kB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2037, allocations: 8 kB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.2037, allocations: 46.48 kB / 0.525 GB, free: 13.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.2037, allocations: 4 kB / 0.525 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.00271/0.2065, allocations: 1.211 MB / 0.5262 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.2066, allocations: 162.2 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.2069, allocations: 228.8 kB / 0.5265 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.207, allocations: 33.64 kB / 0.5266 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2071, allocations: 180.5 kB / 0.5267 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.2073, allocations: 158.6 kB / 0.5269 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2074, allocations: 90.16 kB / 0.527 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2076, allocations: 342.8 kB / 0.5273 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2078, allocations: 96.95 kB / 0.5274 GB, free: 11.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2081, allocations: 238.9 kB / 0.5276 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.2087, allocations: 365.7 kB / 0.528 GB, free: 10.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.2087, allocations: 11.98 kB / 0.528 GB, free: 10.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006688/0.2094, allocations: 410.4 kB / 0.5284 GB, free: 10.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2094, allocations: 4 kB / 0.5284 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2094, allocations: 11.94 kB / 0.5284 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.2095, allocations: 4 kB / 0.5284 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.2099, allocations: 123.8 kB / 0.5285 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.2099, allocations: 8.312 kB / 0.5285 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2101, allocations: 16 kB / 0.5285 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.2101, allocations: 20 kB / 0.5286 GB, free: 10.01 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.0002098/0.2103, allocations: 157.8 kB / 0.5287 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2105, allocations: 35.81 kB / 0.5287 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.2107, allocations: 119.3 kB / 0.5289 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.2107, allocations: 11.94 kB / 0.5289 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.2108, allocations: 0 / 0.5289 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2108, allocations: 3.984 kB / 0.5289 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.2126, allocations: 1.005 MB / 0.5299 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2126, allocations: 4 kB / 0.5299 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.213, allocations: 96.14 kB / 0.53 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.213, allocations: 8 kB / 0.53 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.2131, allocations: 12 kB / 0.53 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.2131, allocations: 8.125 kB / 0.53 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.2131, allocations: 4 kB / 0.53 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.2141, allocations: 0.8298 MB / 0.5308 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.2141, allocations: 35.81 kB / 0.5308 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.2142, allocations: 15.98 kB / 0.5308 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.2145, allocations: 12.12 kB / 0.5309 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2146, allocations: 35.83 kB / 0.5309 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2146, allocations: 16 kB / 0.5309 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.2148, allocations: 156.5 kB / 0.5311 GB, free: 7.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2148, allocations: 0 / 0.5311 GB, free: 7.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006072/0.2154, allocations: 88 kB / 0.5311 GB, free: 7.223 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.0001832/0.2156, allocations: 103.2 kB / 0.5312 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.2161, allocations: 279.9 kB / 0.5315 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2161, allocations: 0.75 kB / 0.5315 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2163, allocations: 123.8 kB / 0.5316 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.2173, allocations: 73.58 kB / 0.5317 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2196, allocations: 1.266 MB / 0.5329 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.2201, allocations: 0.7841 MB / 0.5337 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.2203, allocations: 47.25 kB / 0.5337 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.2204, allocations: 27.44 kB / 0.5338 GB, free: 4.434 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2204, allocations: 0 / 0.5338 GB, free: 4.434 MB / 414.1 MB Notification: Performance of Templates: time 0.009178/0.2295, allocations: 3.456 MB / 0.5371 GB, free: 1 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.7654891312122345]