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.001477/0.001477, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001193/0.001193, allocations: 168.2 kB / 24.82 MB, free: 8.883 MB / 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 1.059/1.059, allocations: 177.2 MB / 205.3 MB, free: 5.516 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.3228/0.3228, allocations: 34.27 MB / 296.1 MB, free: 0.6758 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 1.653e-06/1.653e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.385e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004733/0.004757, allocations: 3.109 MB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.006705, allocations: 1.052 MB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.007007, allocations: 11.88 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.007191, allocations: 67.31 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.007529, allocations: 138.8 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.008115, allocations: 175.4 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.008552, allocations: 477.6 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.008717, allocations: 75.86 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.00898, allocations: 259.4 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.009134, allocations: 139.6 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.009172, allocations: 36 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.009273, allocations: 55.97 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.009328, allocations: 79.67 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.009428, allocations: 139.7 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.009788, allocations: 318.7 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.009792, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.009793, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.009799, allocations: 3.984 kB / 384.6 MB, free: 12.28 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.000751/0.01055, allocations: 0.722 MB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01059, allocations: 12.03 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.01082, allocations: 100.6 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.01106, allocations: 247.4 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01108, allocations: 25.38 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.01113, allocations: 48.3 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.01144, allocations: 313.6 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01146, allocations: 8.141 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01148, allocations: 19.94 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.01149, allocations: 8 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.01164, allocations: 137.6 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.0129, allocations: 1.561 MB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.01323, allocations: 342.7 kB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.01332, allocations: 98.16 kB / 388.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.01334, allocations: 12 kB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.01337, allocations: 57.25 kB / 388.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/0.01337, allocations: 0 / 388.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001305/0.01467, allocations: 1.148 MB / 389.4 MB, free: 7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.01473, allocations: 187.9 kB / 389.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.01489, allocations: 296.1 kB / 389.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.0149, allocations: 29.7 kB / 389.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01501, allocations: 251.4 kB / 390.1 MB, free: 6.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.0151, allocations: 198.3 kB / 390.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.01519, allocations: 99.95 kB / 390.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.01533, allocations: 0.5234 MB / 390.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.0154, allocations: 49.27 kB / 391 MB, free: 5.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01557, allocations: 306.6 kB / 391.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.01586, allocations: 416.4 kB / 391.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01586, allocations: 0 / 391.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003927/0.01626, allocations: 400.9 kB / 392.1 MB, free: 3.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.01628, allocations: 8 kB / 392.1 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01628, allocations: 4 kB / 392.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.0163, allocations: 12 kB / 392.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.01656, allocations: 135.8 kB / 392.3 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.01657, allocations: 15.92 kB / 392.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.01668, allocations: 16.44 kB / 392.3 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.0167, allocations: 24 kB / 392.3 MB, free: 3.77 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.0001102/0.01681, allocations: 200.3 kB / 392.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.01691, allocations: 51.77 kB / 392.6 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.01706, allocations: 111.4 kB / 392.7 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.01707, allocations: 4 kB / 392.7 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.01708, allocations: 4 kB / 392.7 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01708, allocations: 3.984 kB / 392.7 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.01813, allocations: 1.252 MB / 393.9 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.01814, allocations: 4 kB / 393.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.0184, allocations: 119.8 kB / 394 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.0184, allocations: 8 kB / 394.1 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01842, allocations: 12 kB / 394.1 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.01843, allocations: 11.94 kB / 394.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.01844, allocations: 8.25 kB / 394.1 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.01915, allocations: 1.164 MB / 395.2 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.01919, allocations: 43.75 kB / 395.3 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.01923, allocations: 12 kB / 395.3 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.01941, allocations: 15.94 kB / 395.3 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.01947, allocations: 43.88 kB / 395.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01948, allocations: 19.98 kB / 395.4 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.01956, allocations: 189.1 kB / 395.6 MB, free: 348 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01956, allocations: 4 kB / 395.6 MB, free: 344 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.01998, allocations: 99.94 kB / 395.7 MB, free: 244 kB / 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.0001126/0.02009, allocations: 115.1 kB / 395.8 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.02038, allocations: 249.4 kB / 396 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02038, allocations: 4.125 kB / 396 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.0205, allocations: 128.3 kB / 396.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.0211, allocations: 96.2 kB / 396.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.02253, allocations: 1.225 MB / 397.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.02263, allocations: 110 kB / 397.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.02277, allocations: 51.28 kB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.02294, allocations: 154.1 kB / 397.8 MB, free: 14 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02294, allocations: 0 / 397.8 MB, free: 14 MB / 378.7 MB Notification: Performance of Templates: time 0.007384/0.03033, allocations: 4.192 MB / 402 MB, free: 9.895 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.400627273134887]