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.00146/0.00146, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001806/0.001806, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9766/0.9766, allocations: 177.1 MB / 205 MB, free: 5.613 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.2742/0.2742, allocations: 34.27 MB / 295.7 MB, free: 0.7656 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 2.254e-06/2.254e-06, allocations: 0 / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.926e-05/4.152e-05, allocations: 2.312 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004742/0.004784, allocations: 3.133 MB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.006992, allocations: 1.056 MB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.007237, allocations: 15.88 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.007458, allocations: 67.31 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.007769, allocations: 138.8 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.008417, allocations: 179.4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005903/0.009007, allocations: 477.6 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.009218, allocations: 79.98 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.009562, allocations: 255.4 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.009886, allocations: 139.6 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-05/0.00995, allocations: 32 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.01009, allocations: 51.98 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.01016, allocations: 83.66 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.01032, allocations: 139.7 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.0108, allocations: 318.7 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.0108, allocations: 8 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0108, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.01081, allocations: 0 / 384.1 MB, free: 12.51 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.001107/0.01192, allocations: 0.7221 MB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.01196, allocations: 8.031 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.01231, allocations: 96.62 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.01267, allocations: 239.4 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.01271, allocations: 37.36 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.01278, allocations: 40.33 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.01335, allocations: 325.7 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.01338, allocations: 12.12 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.01341, allocations: 19.94 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.01343, allocations: 8 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.0138, allocations: 154.8 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.01577, allocations: 1.603 MB / 387.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.01637, allocations: 374.2 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.01654, allocations: 110.7 kB / 387.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.01657, allocations: 11.98 kB / 387.9 MB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.01661, allocations: 49.31 kB / 387.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/0.01661, allocations: 0 / 387.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002255/0.01887, allocations: 1.435 MB / 389.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.01893, allocations: 187.9 kB / 389.5 MB, free: 6.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.0191, allocations: 300.1 kB / 389.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01912, allocations: 33.7 kB / 389.9 MB, free: 6.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01922, allocations: 243.4 kB / 390.1 MB, free: 6.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.01932, allocations: 194.4 kB / 390.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.01941, allocations: 96 kB / 390.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01954, allocations: 0.5195 MB / 390.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.01965, allocations: 65.27 kB / 391 MB, free: 5.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.01985, allocations: 318.7 kB / 391.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.02019, allocations: 440.3 kB / 391.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.0202, allocations: 4 kB / 391.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000431/0.02063, allocations: 429.1 kB / 392.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.02064, allocations: 12.03 kB / 392.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02065, allocations: 4 kB / 392.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.02067, allocations: 8 kB / 392.2 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.02094, allocations: 139.8 kB / 392.3 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.02095, allocations: 11.94 kB / 392.3 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.02107, allocations: 20 kB / 392.3 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.02109, allocations: 27.98 kB / 392.3 MB, free: 3.52 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.0001073/0.0212, allocations: 192.3 kB / 392.5 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.02129, allocations: 59.7 kB / 392.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.02144, allocations: 115.4 kB / 392.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02145, allocations: 8 kB / 392.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.02145, allocations: 0 / 392.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.02146, allocations: 7.984 kB / 392.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.0225, allocations: 1.307 MB / 394 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.02251, allocations: 4 kB / 394 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.02279, allocations: 119.8 kB / 394.2 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.02279, allocations: 11.94 kB / 394.2 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.02282, allocations: 16 kB / 394.2 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02282, allocations: 4 kB / 394.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.02282, allocations: 7.938 kB / 394.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.02348, allocations: 1.187 MB / 395.4 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.02352, allocations: 43.78 kB / 395.4 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.02355, allocations: 19.94 kB / 395.4 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.02373, allocations: 12.28 kB / 395.5 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.02379, allocations: 47.81 kB / 395.5 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.0238, allocations: 16 kB / 395.5 MB, free: 180 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.02391, allocations: 197.1 kB / 395.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02391, allocations: 0 / 395.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.0243, allocations: 100 kB / 395.8 MB, free: 15.89 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.0001046/0.0244, allocations: 119.1 kB / 395.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.02474, allocations: 276.5 kB / 396.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02475, allocations: 0 / 396.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.02488, allocations: 145.8 kB / 396.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.02549, allocations: 92.56 kB / 396.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.02694, allocations: 1.228 MB / 397.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.6e-05/0.02703, allocations: 110 kB / 397.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.02715, allocations: 51.22 kB / 397.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.02722, allocations: 36.48 kB / 397.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02722, allocations: 0 / 397.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Templates: time 0.006237/0.03346, allocations: 4.039 MB / 401.9 MB, free: 9.75 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] 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","",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.1319466712884605]