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.0008506/0.0008506, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002066, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006994/0.0006994, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001716, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9755/0.9755, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0819/1.057, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.958e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.005877/0.005896, allocations: 2.391 MB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.007077, allocations: 0.7709 MB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.00718, allocations: 7.938 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.461e-05/0.007275, allocations: 47.52 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.007471, allocations: 87.27 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.00772, allocations: 115.7 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.00801, allocations: 322.5 kB / 248.9 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.008118, allocations: 42.83 kB / 249 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.00832, allocations: 200.2 kB / 249.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.008459, allocations: 91.75 kB / 249.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.008492, allocations: 23.94 kB / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.008526, allocations: 20 kB / 249.3 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003051/0.01158, allocations: 35.88 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.01165, allocations: 75.81 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.01187, allocations: 175.4 kB / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.01188, allocations: 0 / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01188, allocations: 0 / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.01189, allocations: 0 / 249.6 MB, free: 9.191 MB / 250.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.0006646/0.01255, allocations: 0.5036 MB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.01258, allocations: 12.03 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.01264, allocations: 32.91 kB / 250.1 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.01287, allocations: 186.7 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.01289, allocations: 16.88 kB / 250.3 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.01293, allocations: 32.25 kB / 250.4 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.01322, allocations: 208.5 kB / 250.6 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01323, allocations: 4 kB / 250.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.01325, allocations: 7.938 kB / 250.6 MB, free: 8.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01326, allocations: 8 kB / 250.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.01337, allocations: 79.75 kB / 250.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.01412, allocations: 0.7705 MB / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.01432, allocations: 182.6 kB / 251.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.01438, allocations: 55.36 kB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.01439, allocations: 4 kB / 251.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003092/0.01749, allocations: 42.5 kB / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.01749, allocations: 0 / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009738/0.01846, allocations: 0.7901 MB / 252.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.01851, allocations: 140.5 kB / 252.6 MB, free: 5.816 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.01864, allocations: 202.2 kB / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01866, allocations: 33.7 kB / 252.9 MB, free: 5.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.01872, allocations: 132.7 kB / 253 MB, free: 5.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.01879, allocations: 134.9 kB / 253.1 MB, free: 5.297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.01886, allocations: 74.12 kB / 253.2 MB, free: 5.219 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.01907, allocations: 342.7 kB / 253.5 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.01912, allocations: 28.98 kB / 253.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01922, allocations: 150.6 kB / 253.7 MB, free: 4.648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.01943, allocations: 230.5 kB / 253.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.01943, allocations: 4 kB / 253.9 MB, free: 4.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002525/0.01968, allocations: 217.3 kB / 254.1 MB, free: 4.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.0197, allocations: 4 kB / 254.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.0197, allocations: 4 kB / 254.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01972, allocations: 8 kB / 254.2 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.02002, allocations: 111.8 kB / 254.3 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.02003, allocations: 8 kB / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.02013, allocations: 15.98 kB / 254.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.02015, allocations: 15.94 kB / 254.3 MB, free: 3.988 MB / 250.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 8.264e-05/0.02023, allocations: 137.8 kB / 254.4 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.02031, allocations: 27.97 kB / 254.5 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.02036, allocations: 29.47 kB / 254.5 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.02036, allocations: 4 kB / 254.5 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.02036, allocations: 0 / 254.5 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003008/0.02337, allocations: 7.984 kB / 254.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.02414, allocations: 0.7061 MB / 255.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02414, allocations: 0 / 255.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.02442, allocations: 99.81 kB / 255.3 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.02445, allocations: 23.86 kB / 255.3 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.02445, allocations: 4 kB / 255.3 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.02447, allocations: 11.98 kB / 255.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.02448, allocations: 4 kB / 255.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.02448, allocations: 7.938 kB / 255.4 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.02484, allocations: 0.5713 MB / 255.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.02487, allocations: 12 kB / 255.9 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.02507, allocations: 8 kB / 256 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.02512, allocations: 31.89 kB / 256 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.02513, allocations: 12 kB / 256 MB, free: 2.191 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.02519, allocations: 57.94 kB / 256.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02519, allocations: 0 / 256.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.02558, allocations: 68 kB / 256.1 MB, free: 2.066 MB / 250.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 9.378e-05/0.02568, allocations: 96.23 kB / 256.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.02589, allocations: 175.5 kB / 256.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.0259, allocations: 4 kB / 256.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.02602, allocations: 106.6 kB / 256.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/0.02978, allocations: 0.6126 MB / 257.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.03101, allocations: 0.5755 MB / 257.7 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.979e-05/0.03109, allocations: 97.23 kB / 257.8 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.0312, allocations: 34.95 kB / 257.8 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.03135, allocations: 107.4 kB / 257.9 MB, free: 64 kB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03135, allocations: 0 / 257.9 MB, free: 64 kB / 250.7 MB Notification: Performance of Templates: time 0.009085/0.04044, allocations: 3.556 MB / 261.5 MB, free: 12.58 MB / 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.723446992225945]