Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001519/0.001519, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002276/0.002276, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2346/0.2346, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 346.9 MB, free: 9.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.484e-05, allocations: 6.312 kB / 346.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002872/0.002897, allocations: 2.593 MB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.004424, allocations: 0.9394 MB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.004684, allocations: 11.88 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.004899, allocations: 47.52 kB / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.005139, allocations: 118.9 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.005673, allocations: 147.5 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.006139, allocations: 394 kB / 351.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.006343, allocations: 65.33 kB / 351.2 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.006655, allocations: 215.5 kB / 351.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.006848, allocations: 111.7 kB / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.006901, allocations: 28 kB / 351.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.00702, allocations: 40 kB / 351.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.007074, allocations: 63.73 kB / 351.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.007209, allocations: 111.7 kB / 351.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.00766, allocations: 382.7 kB / 352.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007663, allocations: 0 / 352.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007664, allocations: 0 / 352.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.007675, allocations: 0 / 352.1 MB, free: 4.602 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001054/0.008729, allocations: 0.5519 MB / 352.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.008767, allocations: 8.031 kB / 352.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.009051, allocations: 80.62 kB / 352.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.009397, allocations: 224.9 kB / 353 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.009417, allocations: 21.03 kB / 353 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.009471, allocations: 36.33 kB / 353 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.009866, allocations: 307.2 kB / 353.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.009889, allocations: 4.188 kB / 353.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.009916, allocations: 15.94 kB / 353.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.009924, allocations: 8 kB / 353.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.01022, allocations: 195.8 kB / 353.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01161, allocations: 1.142 MB / 354.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.01203, allocations: 321 kB / 355 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.01216, allocations: 108.2 kB / 355.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01219, allocations: 8 kB / 355.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.01221, allocations: 46.5 kB / 355.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.01221, allocations: 0 / 355.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002039/0.01425, allocations: 1.223 MB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.01437, allocations: 166.2 kB / 356.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.01462, allocations: 217.6 kB / 356.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.01465, allocations: 33.7 kB / 356.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.0148, allocations: 184.5 kB / 357 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.01496, allocations: 154.6 kB / 357.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.01512, allocations: 82.16 kB / 357.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.01536, allocations: 346.7 kB / 357.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.01557, allocations: 96.95 kB / 357.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.01596, allocations: 238.9 kB / 357.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.01656, allocations: 370.9 kB / 358.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.01657, allocations: 8 kB / 358.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008802/0.01745, allocations: 436.8 kB / 358.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.01747, allocations: 4 kB / 358.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.01748, allocations: 8 kB / 358.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.01752, allocations: 4 kB / 358.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.01797, allocations: 120.2 kB / 358.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.01799, allocations: 15.94 kB / 358.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.01819, allocations: 16 kB / 358.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.01823, allocations: 20 kB / 358.9 MB, free: 13.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001951/0.01842, allocations: 161.6 kB / 359 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.01857, allocations: 47.81 kB / 359.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.01884, allocations: 115.4 kB / 359.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.01885, allocations: 4 kB / 359.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.01885, allocations: 4 kB / 359.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.01886, allocations: 3.984 kB / 359.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.02059, allocations: 0.9318 MB / 360.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.0206, allocations: 4 kB / 360.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.02109, allocations: 95.89 kB / 360.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.02111, allocations: 7.938 kB / 360.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.02114, allocations: 16.25 kB / 360.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.02115, allocations: 8 kB / 360.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.02115, allocations: 7.938 kB / 360.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.02231, allocations: 0.8261 MB / 361.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.02237, allocations: 35.75 kB / 361.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.02241, allocations: 12 kB / 361.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.02274, allocations: 12 kB / 361.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.0228, allocations: 31.94 kB / 361.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.02283, allocations: 19.88 kB / 361.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.023, allocations: 149.2 kB / 361.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.023, allocations: 4.109 kB / 361.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.02362, allocations: 87.94 kB / 361.4 MB, free: 10.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0001729/0.02379, allocations: 115.1 kB / 361.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.02433, allocations: 265.4 kB / 361.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.02433, allocations: 4 kB / 361.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.02455, allocations: 136.2 kB / 361.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.0255, allocations: 75.42 kB / 362 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.02747, allocations: 1.014 MB / 363 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.02774, allocations: 181.6 kB / 363.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.02793, allocations: 39.27 kB / 363.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.02803, allocations: 28.5 kB / 363.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02803, allocations: 0 / 363.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of Templates: time 0.008784/0.03681, allocations: 3.104 MB / 366.4 MB, free: 5.637 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.077138273045421]