Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001707/0.001707, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3547/0.3547, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.642e-05, allocations: 2.312 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004921/0.004947, allocations: 2.922 MB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.007246, allocations: 1.024 MB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.00756, allocations: 11.94 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.007814, allocations: 63.31 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.008209, allocations: 134.8 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.00888, allocations: 175.4 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.009589, allocations: 481.5 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.009798, allocations: 83.92 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.01016, allocations: 259.4 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.0104, allocations: 135.6 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.01045, allocations: 28 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.0106, allocations: 59.97 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.01069, allocations: 79.66 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.01087, allocations: 135.7 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.01149, allocations: 466.4 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.01149, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01149, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.0115, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.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.001321/0.01282, allocations: 0.626 MB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.01286, allocations: 8.031 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.01325, allocations: 92.64 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.0137, allocations: 240.6 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.01374, allocations: 29.38 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.01383, allocations: 40.33 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.01452, allocations: 364.1 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.01455, allocations: 8.141 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.01459, allocations: 19.94 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.0146, allocations: 8 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.01516, allocations: 251.6 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.01747, allocations: 1.368 MB / 386.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.01829, allocations: 403.8 kB / 386.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.01856, allocations: 129 kB / 386.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.01859, allocations: 11.94 kB / 386.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.01863, allocations: 42.56 kB / 386.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.01863, allocations: 0 / 386.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003444/0.02208, allocations: 1.542 MB / 388.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.02222, allocations: 195.8 kB / 388.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.02251, allocations: 245.8 kB / 388.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.02255, allocations: 37.7 kB / 388.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.02273, allocations: 204.7 kB / 389 MB, free: 6.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.02291, allocations: 186.3 kB / 389.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.02307, allocations: 102.3 kB / 389.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.02329, allocations: 350.7 kB / 389.6 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.02355, allocations: 113.3 kB / 389.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.02401, allocations: 299.9 kB / 390 MB, free: 5.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.02477, allocations: 450.1 kB / 390.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.02478, allocations: 4 kB / 390.5 MB, free: 4.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001082/0.02586, allocations: 0.5165 MB / 391 MB, free: 4.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.02589, allocations: 8 kB / 391 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.0259, allocations: 4.438 kB / 391 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.053e-05/0.02595, allocations: 16 kB / 391 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.0265, allocations: 139.8 kB / 391.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.02652, allocations: 8 kB / 391.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.02679, allocations: 27.98 kB / 391.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.02684, allocations: 24 kB / 391.2 MB, free: 4.23 MB / 362.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.0002561/0.0271, allocations: 173.5 kB / 391.4 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.02728, allocations: 51.81 kB / 391.4 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.02757, allocations: 127.3 kB / 391.6 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.02758, allocations: 8 kB / 391.6 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.02759, allocations: 4 kB / 391.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.0276, allocations: 7.984 kB / 391.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.02963, allocations: 1.124 MB / 392.7 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.02964, allocations: 11.97 kB / 392.7 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.0302, allocations: 119.9 kB / 392.8 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.03021, allocations: 7.938 kB / 392.8 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.03025, allocations: 16.28 kB / 392.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.03026, allocations: 7.938 kB / 392.9 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.03026, allocations: 4 kB / 392.9 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.03161, allocations: 1.011 MB / 393.9 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.03166, allocations: 35.75 kB / 393.9 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.03173, allocations: 23.94 kB / 393.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.03212, allocations: 12 kB / 394 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.03222, allocations: 47.81 kB / 394 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.03225, allocations: 15.98 kB / 394 MB, free: 1.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.03245, allocations: 169.2 kB / 394.2 MB, free: 1.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03245, allocations: 0 / 394.2 MB, free: 1.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006703/0.03312, allocations: 96 kB / 394.3 MB, free: 1.035 MB / 362.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 0.0001584/0.03327, allocations: 115.1 kB / 394.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006972/0.03397, allocations: 343.4 kB / 394.7 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.03398, allocations: 4 kB / 394.7 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.0343, allocations: 169.1 kB / 394.9 MB, free: 420 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.03534, allocations: 91.41 kB / 395 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.03766, allocations: 1.205 MB / 396.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.03794, allocations: 204.5 kB / 396.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.03813, allocations: 47.3 kB / 396.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.03824, allocations: 32.5 kB / 396.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03824, allocations: 0 / 396.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of Templates: time 0.00961/0.04785, allocations: 3.837 MB / 400.3 MB, free: 10.97 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.190828129067086]