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.001081/0.001081, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001239/0.001239, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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.037/1.037, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.1405/0.1405, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 4 kB / 347.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.273e-05, allocations: 8.281 kB / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002714/0.002747, allocations: 2.776 MB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003944, allocations: 0.9744 MB / 351.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.004104, allocations: 7.938 kB / 351.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.004246, allocations: 59.44 kB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.004373, allocations: 115 kB / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.004763, allocations: 147.5 kB / 351.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.005067, allocations: 397.9 kB / 352.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.005236, allocations: 57.39 kB / 352.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.005398, allocations: 211.5 kB / 352.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.00553, allocations: 111.7 kB / 352.5 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.005562, allocations: 28 kB / 352.5 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.005647, allocations: 43.98 kB / 352.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.005684, allocations: 67.73 kB / 352.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.005756, allocations: 115.7 kB / 352.7 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.006, allocations: 263 kB / 353 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.006003, allocations: 3.984 kB / 353 MB, free: 4.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006003, allocations: 3.938 kB / 353 MB, free: 4.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006008, allocations: 0 / 353 MB, free: 4.449 MB / 282.7 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.0005604/0.006569, allocations: 0.6557 MB / 353.6 MB, free: 3.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.0066, allocations: 8.031 kB / 353.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.00678, allocations: 72.69 kB / 353.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.006972, allocations: 220.1 kB / 353.9 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.006988, allocations: 24.97 kB / 353.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.007023, allocations: 36.33 kB / 354 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.00727, allocations: 265.4 kB / 354.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.007285, allocations: 4.188 kB / 354.2 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.007303, allocations: 11.94 kB / 354.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.007313, allocations: 8 kB / 354.3 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.007494, allocations: 135.8 kB / 354.4 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.008451, allocations: 1.347 MB / 355.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.008767, allocations: 303.2 kB / 356 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.008858, allocations: 98.34 kB / 356.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.008878, allocations: 8.266 kB / 356.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.008899, allocations: 49.39 kB / 356.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.0089, allocations: 3.938 kB / 356.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001358/0.01026, allocations: 1.151 MB / 357.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.01032, allocations: 162.2 kB / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01049, allocations: 268.2 kB / 357.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.01051, allocations: 37.64 kB / 357.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01062, allocations: 223.3 kB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.01071, allocations: 154.7 kB / 358.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.01079, allocations: 91.8 kB / 358.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.01094, allocations: 0.5117 MB / 358.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.01103, allocations: 56.95 kB / 358.8 MB, free: 14.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.01123, allocations: 262.4 kB / 359.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.01156, allocations: 366.3 kB / 359.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01156, allocations: 8 kB / 359.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003945/0.01195, allocations: 364.8 kB / 359.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01197, allocations: 4 kB / 359.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01198, allocations: 4 kB / 359.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.012, allocations: 11.94 kB / 359.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.01223, allocations: 116.2 kB / 359.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.01224, allocations: 12 kB / 360 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.01234, allocations: 19.94 kB / 360 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.01236, allocations: 23.98 kB / 360 MB, free: 12.75 MB / 298.7 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.0001272/0.01249, allocations: 188.4 kB / 360.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/0.01294, allocations: 43.81 kB / 360.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.01312, allocations: 107.4 kB / 360.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01313, allocations: 8 kB / 360.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.01314, allocations: 4 kB / 360.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.01314, allocations: 0 / 360.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.01411, allocations: 1.078 MB / 361.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.01412, allocations: 4 kB / 361.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.01436, allocations: 95.89 kB / 361.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.01436, allocations: 7.938 kB / 361.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.01439, allocations: 16.25 kB / 361.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.0144, allocations: 15.92 kB / 361.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.0144, allocations: 4 kB / 361.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.015, allocations: 0.9891 MB / 362.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.01503, allocations: 39.66 kB / 362.6 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.01506, allocations: 11.98 kB / 362.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.01521, allocations: 12 kB / 362.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.01525, allocations: 35.89 kB / 362.6 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.01527, allocations: 11.94 kB / 362.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.01536, allocations: 193.1 kB / 362.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 4 kB / 362.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.01575, allocations: 80 kB / 362.9 MB, free: 9.656 MB / 298.7 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.0001053/0.01585, allocations: 103.2 kB / 363 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.01616, allocations: 229.5 kB / 363.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01616, allocations: 4.062 kB / 363.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01627, allocations: 120.7 kB / 363.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.01681, allocations: 74.11 kB / 363.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.01819, allocations: 1.029 MB / 364.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.173e-05/0.01827, allocations: 105.1 kB / 364.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.01839, allocations: 39.27 kB / 364.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.01845, allocations: 32.48 kB / 364.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01845, allocations: 0 / 364.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of Templates: time 0.005966/0.02441, allocations: 3.119 MB / 367.8 MB, free: 4.758 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2267733418848366]