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.001214/0.001214, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002746, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001072/0.001072, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002375, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9666/0.9666, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09911/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.2567/0.2567, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02586/0.2825, allocations: 13.1 MB / 291.3 MB, free: 7.383 MB / 282.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.104e-06/2.104e-06, allocations: 0 / 292.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.685e-05, allocations: 5.828 kB / 292.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003167/0.003193, allocations: 3.173 MB / 295.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004643, allocations: 1.091 MB / 296.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.004801, allocations: 7.938 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.004918, allocations: 63.31 kB / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.005097, allocations: 138.8 kB / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.005471, allocations: 179.4 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.005835, allocations: 481.7 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.00598, allocations: 76.62 kB / 297.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.006239, allocations: 283.8 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.006411, allocations: 139.6 kB / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.006457, allocations: 32 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.006579, allocations: 55.98 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.00662, allocations: 59.75 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.006705, allocations: 115.8 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.006997, allocations: 294.9 kB / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.007012, allocations: 0 / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007013, allocations: 0 / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.007029, allocations: 0 / 298.7 MB, free: 172 kB / 282.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.0007644/0.007794, allocations: 0.689 MB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.007826, allocations: 12.03 kB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.008052, allocations: 158 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.008293, allocations: 220.6 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.008317, allocations: 29.38 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.008359, allocations: 44.31 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.008622, allocations: 296.6 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.008641, allocations: 12.12 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.008659, allocations: 15.94 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.008668, allocations: 8 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.008813, allocations: 122.3 kB / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.009779, allocations: 1.173 MB / 301.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.01045, allocations: 287.6 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.01053, allocations: 81.08 kB / 301.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.01056, allocations: 8 kB / 301.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.01059, allocations: 50.48 kB / 301.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.075e-06/0.0106, allocations: 4 kB / 301.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001442/0.01204, allocations: 1.109 MB / 303 MB, free: 11.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.0121, allocations: 191.9 kB / 303.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01225, allocations: 236.9 kB / 303.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.01227, allocations: 37.7 kB / 303.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.01234, allocations: 181.1 kB / 303.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.01243, allocations: 190.4 kB / 303.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.01251, allocations: 102.2 kB / 303.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.01259, allocations: 350.7 kB / 304.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.01265, allocations: 49.28 kB / 304.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01278, allocations: 231.9 kB / 304.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.01303, allocations: 346.5 kB / 304.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.01303, allocations: 7.938 kB / 304.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002915/0.01333, allocations: 314.6 kB / 305.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01334, allocations: 8.438 kB / 305.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.01335, allocations: 8 kB / 305.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01337, allocations: 8 kB / 305.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.01374, allocations: 170.2 kB / 305.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.01375, allocations: 11.94 kB / 305.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.01389, allocations: 27.94 kB / 305.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.0139, allocations: 19.94 kB / 305.5 MB, free: 8.816 MB / 298.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.0001207/0.01403, allocations: 145.7 kB / 305.6 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.01412, allocations: 39.97 kB / 305.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.01428, allocations: 103.4 kB / 305.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.01428, allocations: 8 kB / 305.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01429, allocations: 0 / 305.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.0143, allocations: 7.984 kB / 305.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.0152, allocations: 0.8981 MB / 306.7 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.0152, allocations: 4 kB / 306.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.0155, allocations: 148 kB / 306.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.01553, allocations: 31.77 kB / 306.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01554, allocations: 4 kB / 306.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.01556, allocations: 23.97 kB / 306.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.01556, allocations: 8.188 kB / 306.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.01557, allocations: 8 kB / 306.9 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.01601, allocations: 0.8205 MB / 307.7 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.01604, allocations: 16 kB / 307.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.01622, allocations: 8 kB / 307.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.01627, allocations: 51.75 kB / 307.8 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.01628, allocations: 11.98 kB / 307.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.01633, allocations: 78.77 kB / 307.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01633, allocations: 4 kB / 307.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.01669, allocations: 96 kB / 308 MB, free: 6.184 MB / 298.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.0001039/0.01679, allocations: 100.3 kB / 308.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01703, allocations: 242 kB / 308.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/0.01705, allocations: 16 kB / 308.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.842e-05/0.01715, allocations: 123 kB / 308.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.0177, allocations: 120.8 kB / 308.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.01985, allocations: 0.8778 MB / 309.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.913e-05/0.01995, allocations: 113.9 kB / 309.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.02009, allocations: 55.33 kB / 309.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.02027, allocations: 127.3 kB / 309.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02027, allocations: 0 / 309.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of Templates: time 0.006565/0.02683, allocations: 4.623 MB / 314.3 MB, free: 15.83 MB / 314.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 -ignoreHideResult -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: 2.8012228859588504]