Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 100.2 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.403e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00391/0.003944, allocations: 2.223 MB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.005443, allocations: 0.7283 MB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.005558, allocations: 4 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.005708, allocations: 35.59 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.006126, allocations: 91.19 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.006473, allocations: 119.7 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.006895, allocations: 318.5 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.007035, allocations: 40.86 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.007269, allocations: 171.6 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.007447, allocations: 99.67 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.00749, allocations: 20 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.007535, allocations: 20 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.007596, allocations: 51.77 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.007717, allocations: 91.77 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.008101, allocations: 282.9 kB / 276.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.008104, allocations: 4 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008105, allocations: 0 / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.008111, allocations: 0 / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001021/0.009131, allocations: 481.5 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.009171, allocations: 11.98 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.009273, allocations: 52.75 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.009656, allocations: 210.6 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.009684, allocations: 12.88 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.009747, allocations: 24.38 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.01024, allocations: 244 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.01026, allocations: 4.141 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.01029, allocations: 12.38 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.0103, allocations: 7.938 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.01072, allocations: 171.7 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.01216, allocations: 0.8998 MB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.0128, allocations: 290.5 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.013, allocations: 91.39 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.01303, allocations: 7.938 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.01307, allocations: 38.56 kB / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.01307, allocations: 0 / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002083/0.01515, allocations: 1.052 MB / 280 MB, free: 9.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.99e-05/0.01525, allocations: 132.5 kB / 280.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.01549, allocations: 203 kB / 280.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.01552, allocations: 33.7 kB / 280.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.01567, allocations: 160.7 kB / 280.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.01578, allocations: 122.9 kB / 280.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.01589, allocations: 66.2 kB / 280.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.01608, allocations: 334.8 kB / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.01629, allocations: 80.95 kB / 281.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.01662, allocations: 202.6 kB / 281.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.01717, allocations: 305.4 kB / 281.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01717, allocations: 0 / 281.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007277/0.0179, allocations: 365.2 kB / 282 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01791, allocations: 4 kB / 282 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.01792, allocations: 7.984 kB / 282 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.01795, allocations: 8 kB / 282 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.01834, allocations: 91.84 kB / 282.1 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.01836, allocations: 7.984 kB / 282.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.01854, allocations: 12 kB / 282.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.01871, allocations: 16 kB / 282.1 MB, free: 7.359 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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.0001819/0.01889, allocations: 153.8 kB / 282.3 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.01901, allocations: 39.84 kB / 282.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.0191, allocations: 33.47 kB / 282.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.0191, allocations: 4 kB / 282.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.01911, allocations: 0 / 282.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.01912, allocations: 3.984 kB / 282.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.02073, allocations: 0.8775 MB / 283.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.02074, allocations: 4.062 kB / 283.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.02114, allocations: 79.89 kB / 283.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.02114, allocations: 4 kB / 283.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.02117, allocations: 8 kB / 283.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.02118, allocations: 11.88 kB / 283.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.02119, allocations: 4 kB / 283.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.02223, allocations: 0.7042 MB / 284.1 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.02228, allocations: 23.84 kB / 284.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.02233, allocations: 19.94 kB / 284.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.02261, allocations: 8 kB / 284.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.02269, allocations: 31.89 kB / 284.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.02271, allocations: 8 kB / 284.1 MB, free: 5.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.02287, allocations: 144.6 kB / 284.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02287, allocations: 0 / 284.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005077/0.02338, allocations: 64 kB / 284.3 MB, free: 5.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (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 (32): * Single equations (assignments): 32 * 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.0001613/0.02354, allocations: 119.1 kB / 284.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.02408, allocations: 231.7 kB / 284.7 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02408, allocations: 0 / 284.7 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.02434, allocations: 116.6 kB / 284.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.02513, allocations: 74.14 kB / 284.9 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.02675, allocations: 0.8057 MB / 285.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.02696, allocations: 151.1 kB / 285.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.02709, allocations: 30.97 kB / 285.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.02718, allocations: 28.5 kB / 285.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02718, allocations: 4 kB / 285.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of Templates: time 0.008201/0.03538, allocations: 3.06 MB / 289 MB, free: 380 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.486062995973043]