Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001402/0.001402, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001398/0.001398, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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.427/1.427, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 440.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.386e-05, allocations: 2.281 kB / 440.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003992/0.004016, allocations: 2.702 MB / 442.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.005707, allocations: 0.9425 MB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.00584, allocations: 15.88 kB / 443.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.006007, allocations: 59.44 kB / 443.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.006218, allocations: 115 kB / 443.9 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.006772, allocations: 155.5 kB / 444 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.007224, allocations: 402 kB / 444.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.0074, allocations: 65.33 kB / 444.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.007664, allocations: 215.5 kB / 444.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.007857, allocations: 115.6 kB / 444.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.007904, allocations: 28 kB / 444.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.008022, allocations: 43.98 kB / 444.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.008099, allocations: 67.73 kB / 445 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.008234, allocations: 115.7 kB / 445.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.008715, allocations: 390.7 kB / 445.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.008718, allocations: 4 kB / 445.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008719, allocations: 0 / 445.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.00873, allocations: 0 / 445.5 MB, free: 2.781 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001024/0.009754, allocations: 0.5597 MB / 446 MB, free: 2.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.009787, allocations: 8.031 kB / 446 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.01008, allocations: 56.69 kB / 446.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.01042, allocations: 210.2 kB / 446.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.01044, allocations: 28.97 kB / 446.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.01051, allocations: 28.38 kB / 446.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.01101, allocations: 310.9 kB / 446.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.01103, allocations: 12.08 kB / 446.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.01107, allocations: 15.94 kB / 446.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.01108, allocations: 8 kB / 446.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.01145, allocations: 199.7 kB / 446.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01324, allocations: 1.146 MB / 448 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1801/0.1934, allocations: 319 kB / 448.3 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1935, allocations: 107.1 kB / 448.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1935, allocations: 8.078 kB / 448.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1935, allocations: 44.41 kB / 448.5 MB, free: 21.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.1935, allocations: 0 / 448.5 MB, free: 21.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002174/0.1957, allocations: 1.228 MB / 449.7 MB, free: 20.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1958, allocations: 160.4 kB / 449.9 MB, free: 20.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1959, allocations: 222.5 kB / 450.1 MB, free: 20.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.196, allocations: 31.86 kB / 450.1 MB, free: 20.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.196, allocations: 182.2 kB / 450.3 MB, free: 20 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.1961, allocations: 159.3 kB / 450.4 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.1962, allocations: 80.8 kB / 450.5 MB, free: 19.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.1963, allocations: 348.7 kB / 450.9 MB, free: 19.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1964, allocations: 96.69 kB / 451 MB, free: 19.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1966, allocations: 237.6 kB / 451.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.197, allocations: 387.4 kB / 451.6 MB, free: 18.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.197, allocations: 1.688 kB / 451.6 MB, free: 18.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005295/0.1975, allocations: 410.7 kB / 452 MB, free: 18.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1975, allocations: 6.922 kB / 452 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1976, allocations: 6.625 kB / 452 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.1976, allocations: 5.5 kB / 452 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.198, allocations: 121.1 kB / 452.1 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.198, allocations: 12.17 kB / 452.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1982, allocations: 21.52 kB / 452.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1982, allocations: 20.5 kB / 452.2 MB, free: 18.79 MB / 366.1 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.0001104/0.1983, allocations: 157.6 kB / 452.3 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1984, allocations: 41.75 kB / 452.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.1986, allocations: 118.1 kB / 452.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1986, allocations: 4.938 kB / 452.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1986, allocations: 3.469 kB / 452.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1986, allocations: 10.02 kB / 452.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1999, allocations: 0.9299 MB / 453.4 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1999, allocations: 3.609 kB / 453.4 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.2003, allocations: 97.69 kB / 453.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.2003, allocations: 4.844 kB / 453.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.2004, allocations: 10.92 kB / 453.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.2004, allocations: 12.97 kB / 453.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2004, allocations: 3.344 kB / 453.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.2011, allocations: 0.8242 MB / 454.4 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.2012, allocations: 28.03 kB / 454.4 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2012, allocations: 10.62 kB / 454.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.2015, allocations: 13.5 kB / 454.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.2016, allocations: 37.42 kB / 454.5 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2016, allocations: 14.05 kB / 454.5 MB, free: 17.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2017, allocations: 154.1 kB / 454.6 MB, free: 17.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2017, allocations: 1.188 kB / 454.6 MB, free: 17.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006176/0.2024, allocations: 84.88 kB / 454.7 MB, free: 17.05 MB / 366.1 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.0001346/0.2025, allocations: 107 kB / 454.8 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.2031, allocations: 280.2 kB / 455.1 MB, free: 16.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2031, allocations: 0 / 455.1 MB, free: 16.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.2033, allocations: 136.3 kB / 455.2 MB, free: 16.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.2043, allocations: 69.03 kB / 455.3 MB, free: 16.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2057, allocations: 1.021 MB / 456.3 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.2059, allocations: 184.4 kB / 456.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.2061, allocations: 39.94 kB / 456.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.2062, allocations: 29.09 kB / 456.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2062, allocations: 0 / 456.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.007651/0.2138, allocations: 3.088 MB / 459.6 MB, free: 15.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.770266354084015]