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.0009226/0.0009226, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001104/0.001104, allocations: 165.1 kB / 24.91 MB, free: 9.188 MB / 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.088/1.088, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.397e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.006134/0.006158, allocations: 2.381 MB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.01054, allocations: 0.7631 MB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.0107, allocations: 11.94 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.01084, allocations: 39.53 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.01117, allocations: 91.2 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.01148, allocations: 115.7 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.0118, allocations: 318.4 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.01192, allocations: 42.88 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.01211, allocations: 175.6 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.01226, allocations: 99.67 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.01229, allocations: 20 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.964e-05/0.01232, allocations: 20 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.01236, allocations: 51.77 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.256e-05/0.01244, allocations: 99.73 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.01267, allocations: 187.2 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01267, allocations: 0 / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01267, allocations: 0 / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.01268, allocations: 0 / 277.8 MB, free: 12.79 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.003613/0.01629, allocations: 468 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.01633, allocations: 15.98 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.01639, allocations: 36.91 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.01662, allocations: 178.1 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.01664, allocations: 20.88 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.01668, allocations: 32.31 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.01695, allocations: 208.6 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01696, allocations: 4.172 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.01698, allocations: 8.375 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01699, allocations: 7.938 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.01711, allocations: 71.88 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.0179, allocations: 0.7706 MB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.01813, allocations: 182.5 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.01819, allocations: 55.56 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.01821, allocations: 12 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.01824, allocations: 34.56 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.01824, allocations: 0 / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.004101/0.02234, allocations: 0.7986 MB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.02239, allocations: 136.5 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.02252, allocations: 194.1 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.02254, allocations: 33.7 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.02261, allocations: 144.7 kB / 281.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.02268, allocations: 122.9 kB / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.02276, allocations: 78.11 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.02285, allocations: 338.8 kB / 281.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.0229, allocations: 32.98 kB / 281.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.02301, allocations: 146.7 kB / 281.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.02321, allocations: 225.4 kB / 282.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.02322, allocations: 0 / 282.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002667/0.02348, allocations: 229.2 kB / 282.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.0235, allocations: 4 kB / 282.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02351, allocations: 7.938 kB / 282.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.02352, allocations: 8.25 kB / 282.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.02382, allocations: 106.8 kB / 282.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.02383, allocations: 4 kB / 282.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.02394, allocations: 19.94 kB / 282.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.02395, allocations: 12 kB / 282.5 MB, free: 7.645 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 9.004e-05/0.02404, allocations: 137.7 kB / 282.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.02413, allocations: 27.97 kB / 282.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.02418, allocations: 33.45 kB / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.02418, allocations: 4 kB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.02418, allocations: 0 / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02419, allocations: 4 kB / 282.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.02499, allocations: 0.6944 MB / 283.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.025, allocations: 8 kB / 283.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.02529, allocations: 95.09 kB / 283.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.02529, allocations: 4.25 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.02531, allocations: 19.92 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.02532, allocations: 4 kB / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02532, allocations: 4 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.02573, allocations: 0.5713 MB / 284.1 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.02576, allocations: 27.78 kB / 284.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.02579, allocations: 8 kB / 284.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.026, allocations: 15.98 kB / 284.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.02605, allocations: 23.91 kB / 284.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02607, allocations: 19.98 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.02612, allocations: 58.12 kB / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02612, allocations: 0 / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.02654, allocations: 60 kB / 284.3 MB, free: 5.723 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.0001045/0.02665, allocations: 88.36 kB / 284.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.02687, allocations: 166.7 kB / 284.5 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.02688, allocations: 8 kB / 284.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.02697, allocations: 84.58 kB / 284.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.02754, allocations: 77.16 kB / 284.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.03142, allocations: 0.6228 MB / 285.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.0315, allocations: 89.25 kB / 285.4 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.03162, allocations: 38.94 kB / 285.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.03178, allocations: 115.3 kB / 285.6 MB, free: 4.359 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03178, allocations: 4 kB / 285.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of Templates: time 0.006283/0.03806, allocations: 3.51 MB / 289.1 MB, free: 0.9141 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.801027263980359]