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.001039/0.001039, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001024/0.001024, allocations: 164.5 kB / 24.82 MB, free: 9.281 MB / 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.018/1.018, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.3034/0.3034, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] 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.342e-06/1.342e-06, allocations: 0 / 379.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.777e-05, allocations: 3.297 kB / 379.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003167/0.003184, allocations: 3.104 MB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004802, allocations: 1.059 MB / 383.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.004992, allocations: 11.94 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.005164, allocations: 67.31 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.005368, allocations: 126.8 kB / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.005869, allocations: 183.4 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.006253, allocations: 481.5 kB / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.006403, allocations: 83.97 kB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.006597, allocations: 251.5 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.006749, allocations: 135.6 kB / 384.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.006788, allocations: 32 kB / 384.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.00688, allocations: 55.97 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.00693, allocations: 83.66 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.007019, allocations: 139.7 kB / 385 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.007303, allocations: 330.7 kB / 385.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.007305, allocations: 0 / 385.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007306, allocations: 0 / 385.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.00731, allocations: 0 / 385.3 MB, free: 11.74 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.0006804/0.007991, allocations: 0.7259 MB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.00803, allocations: 12.03 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.008248, allocations: 88.64 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.008476, allocations: 247.4 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.0085, allocations: 29.38 kB / 386.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.008542, allocations: 44.31 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.008837, allocations: 309.6 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.008858, allocations: 8.141 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.008879, allocations: 19.94 kB / 386.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008887, allocations: 8 kB / 386.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.009088, allocations: 132.3 kB / 386.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.0102, allocations: 1.572 MB / 388.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.01053, allocations: 334.9 kB / 388.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.01061, allocations: 98.08 kB / 388.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.01063, allocations: 11.94 kB / 388.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.01066, allocations: 49.33 kB / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.01066, allocations: 0 / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001262/0.01192, allocations: 1.153 MB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.01199, allocations: 195.8 kB / 390.3 MB, free: 6.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.01214, allocations: 288.1 kB / 390.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.01216, allocations: 37.7 kB / 390.6 MB, free: 5.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01226, allocations: 247.4 kB / 390.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.01235, allocations: 194.3 kB / 391 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.01244, allocations: 99.95 kB / 391.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01257, allocations: 0.5195 MB / 391.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.01263, allocations: 53.25 kB / 391.7 MB, free: 4.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01281, allocations: 310.5 kB / 392 MB, free: 4.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.01308, allocations: 415.9 kB / 392.4 MB, free: 3.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01309, allocations: 4 kB / 392.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003493/0.01344, allocations: 393.1 kB / 392.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01345, allocations: 12 kB / 392.8 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01346, allocations: 4 kB / 392.8 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01347, allocations: 8 kB / 392.8 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.01372, allocations: 143.8 kB / 393 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.01373, allocations: 8.312 kB / 393 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01384, allocations: 19.98 kB / 393 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.01386, allocations: 24 kB / 393 MB, free: 3.242 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.0001071/0.01397, allocations: 200.3 kB / 393.2 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.01405, allocations: 51.77 kB / 393.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.01419, allocations: 115.4 kB / 393.4 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01419, allocations: 4 kB / 393.4 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.0142, allocations: 7.938 kB / 393.4 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.0142, allocations: 7.984 kB / 393.4 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.01523, allocations: 1.245 MB / 394.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01523, allocations: 4 kB / 394.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.01549, allocations: 111.9 kB / 394.8 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.0155, allocations: 8 kB / 394.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01552, allocations: 15.98 kB / 394.8 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.01552, allocations: 15.88 kB / 394.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01553, allocations: 4 kB / 394.8 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.01607, allocations: 1.164 MB / 396 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.0161, allocations: 35.77 kB / 396 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01612, allocations: 23.91 kB / 396 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.01631, allocations: 19.94 kB / 396.1 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.01635, allocations: 35.94 kB / 396.1 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01637, allocations: 16 kB / 396.1 MB, free: 4 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.414e-05/0.01645, allocations: 193.1 kB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01645, allocations: 0 / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.01683, allocations: 99.94 kB / 396.4 MB, free: 15.72 MB / 378.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.0001027/0.01694, allocations: 123.1 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.01723, allocations: 251.9 kB / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01724, allocations: 0 / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01735, allocations: 130.2 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.01793, allocations: 93.23 kB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.0192, allocations: 1.228 MB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.01928, allocations: 110 kB / 398.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.01939, allocations: 43.3 kB / 398.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.01955, allocations: 154.2 kB / 398.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01955, allocations: 0 / 398.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of Templates: time 0.006035/0.02558, allocations: 4.184 MB / 402.7 MB, free: 9.371 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] 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","",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.119890029076487]