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.001955/0.001955, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002995/0.002995, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3645/0.3645, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 377.2 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.007e-05, allocations: 2.312 kB / 377.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005408/0.005438, allocations: 3.104 MB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.007835, allocations: 1.055 MB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.008086, allocations: 7.938 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.008315, allocations: 63.38 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.008611, allocations: 142.8 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.009217, allocations: 183.3 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.009815, allocations: 477.6 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.01005, allocations: 71.98 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.01043, allocations: 259.4 kB / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.01069, allocations: 139.6 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.01075, allocations: 32 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.01091, allocations: 55.98 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.01101, allocations: 83.66 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.0112, allocations: 143.7 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.01185, allocations: 458.4 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01185, allocations: 0 / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01185, allocations: 3.938 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.01186, allocations: 0 / 383.5 MB, free: 12.73 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.001388/0.01325, allocations: 0.7374 MB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.01329, allocations: 12.03 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.01368, allocations: 92.64 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.01408, allocations: 251.4 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.01412, allocations: 21.38 kB / 384.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.0142, allocations: 44.33 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.01489, allocations: 389.1 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.01492, allocations: 8.078 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.01496, allocations: 19.94 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01497, allocations: 8 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.01572, allocations: 239.5 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.01828, allocations: 1.72 MB / 387 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.01913, allocations: 450.8 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.01939, allocations: 150.1 kB / 387.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.01943, allocations: 12 kB / 387.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.01948, allocations: 49.38 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.01949, allocations: 3.938 kB / 387.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003453/0.02294, allocations: 1.58 MB / 389.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.02309, allocations: 187.9 kB / 389.4 MB, free: 6.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.02345, allocations: 340.2 kB / 389.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.02348, allocations: 29.7 kB / 389.8 MB, free: 5.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.02369, allocations: 263.4 kB / 390 MB, free: 5.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.02389, allocations: 202.4 kB / 390.2 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.02407, allocations: 112 kB / 390.3 MB, free: 5.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003581/0.02443, allocations: 0.5391 MB / 390.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.0247, allocations: 117.2 kB / 391 MB, free: 4.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.02523, allocations: 378.6 kB / 391.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.02608, allocations: 0.5277 MB / 391.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.02609, allocations: 4 kB / 391.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001536/0.02763, allocations: 0.5126 MB / 392.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.02765, allocations: 4 kB / 392.4 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.02766, allocations: 8 kB / 392.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.02769, allocations: 8.047 kB / 392.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.02842, allocations: 143.7 kB / 392.6 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.02844, allocations: 16.42 kB / 392.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.02878, allocations: 23.94 kB / 392.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.02884, allocations: 28 kB / 392.6 MB, free: 2.805 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.0003153/0.02915, allocations: 220.3 kB / 392.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.0294, allocations: 51.77 kB / 392.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.02976, allocations: 127.4 kB / 393 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.02977, allocations: 4 kB / 393 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.02978, allocations: 4 kB / 393 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.02979, allocations: 3.984 kB / 393 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.03252, allocations: 1.428 MB / 394.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.03253, allocations: 7.938 kB / 394.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.03324, allocations: 115.8 kB / 394.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.03326, allocations: 11.94 kB / 394.6 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.03331, allocations: 20.3 kB / 394.6 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.03332, allocations: 8 kB / 394.6 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.03332, allocations: 4 kB / 394.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.03482, allocations: 1.304 MB / 395.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.03489, allocations: 43.69 kB / 396 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.03494, allocations: 15.94 kB / 396 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.03531, allocations: 16 kB / 396 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.0354, allocations: 43.81 kB / 396 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.03544, allocations: 24.17 kB / 396.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.03566, allocations: 221.1 kB / 396.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03566, allocations: 0 / 396.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000655/0.03631, allocations: 96 kB / 396.4 MB, free: 14.88 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.0001503/0.03646, allocations: 111.2 kB / 396.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007719/0.03724, allocations: 381 kB / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03724, allocations: 0 / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.03756, allocations: 180.8 kB / 397 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.03857, allocations: 90.95 kB / 397.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.04081, allocations: 1.259 MB / 398.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.04108, allocations: 208.5 kB / 398.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000191/0.04127, allocations: 47.28 kB / 398.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.04138, allocations: 36.5 kB / 398.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04138, allocations: 0 / 398.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of Templates: time 0.009947/0.05133, allocations: 3.857 MB / 402.5 MB, free: 8.676 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.19592583400663]