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.0008036/0.0008036, allocations: 90.58 kB / 21.43 MB, free: 3.062 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.001121/0.001121, allocations: 167.7 kB / 24.82 MB, free: 9.25 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 0.9691/0.9691, allocations: 177 MB / 205.1 MB, free: 5.496 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.492e-06/1.492e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.523e-05, allocations: 9.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002211/0.002226, allocations: 2.339 MB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003398, allocations: 0.7438 MB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.003497, allocations: 7.938 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003615, allocations: 35.59 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.00381, allocations: 95.14 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.00402, allocations: 115.7 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004251, allocations: 318.4 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.00437, allocations: 44.91 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.004513, allocations: 171.6 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.004626, allocations: 95.69 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.004654, allocations: 20 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.633e-05/0.004681, allocations: 24 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.004719, allocations: 55.75 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.004776, allocations: 87.75 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.004947, allocations: 195.2 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004949, allocations: 4 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00495, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004954, allocations: 0 / 277.6 MB, free: 12.89 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.0005363/0.00549, allocations: 0.5779 MB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005524, allocations: 15.98 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.005575, allocations: 52.62 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.005745, allocations: 204.9 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.005765, allocations: 12.88 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.005793, allocations: 24.38 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.006008, allocations: 216 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.006021, allocations: 4.141 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.006036, allocations: 12.38 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006044, allocations: 7.938 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.006141, allocations: 83.84 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.006938, allocations: 1.033 MB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.007134, allocations: 232.3 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.007197, allocations: 75.02 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.007223, allocations: 7.984 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.00725, allocations: 45.27 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.007251, allocations: 0 / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007356/0.007987, allocations: 0.8124 MB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.008035, allocations: 136.5 kB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.008164, allocations: 253.5 kB / 281.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.008184, allocations: 37.64 kB / 281.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.008267, allocations: 195.4 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.008327, allocations: 130.9 kB / 281.8 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.00839, allocations: 71.83 kB / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008503, allocations: 0.5157 MB / 282.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.008545, allocations: 32.97 kB / 282.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.008668, allocations: 191.9 kB / 282.6 MB, free: 7.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.00885, allocations: 262.7 kB / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008851, allocations: 4 kB / 282.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002503/0.009102, allocations: 269.1 kB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.009115, allocations: 10.66 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009121, allocations: 4 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009135, allocations: 4 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.009343, allocations: 95.83 kB / 283.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.009349, allocations: 12.25 kB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.009686, allocations: 16 kB / 283.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.009699, allocations: 8 kB / 283.3 MB, free: 6.703 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 8.529e-05/0.009784, allocations: 192.3 kB / 283.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.009845, allocations: 35.98 kB / 283.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.009888, allocations: 41.44 kB / 283.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.009891, allocations: 4 kB / 283.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.009893, allocations: 0 / 283.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.009899, allocations: 3.984 kB / 283.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.01063, allocations: 0.9693 MB / 284.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.01064, allocations: 8.062 kB / 284.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.01082, allocations: 79.89 kB / 284.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01083, allocations: 4 kB / 284.6 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01084, allocations: 11.94 kB / 284.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01084, allocations: 4 kB / 284.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.01085, allocations: 8.234 kB / 284.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.01124, allocations: 0.8161 MB / 285.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.01127, allocations: 23.81 kB / 285.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01129, allocations: 12 kB / 285.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.01143, allocations: 11.98 kB / 285.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.01147, allocations: 35.83 kB / 285.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.01148, allocations: 12 kB / 285.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.01154, allocations: 172.5 kB / 285.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01154, allocations: 0 / 285.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.01182, allocations: 64 kB / 285.8 MB, free: 4.062 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 7.719e-05/0.0119, allocations: 111.1 kB / 285.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.01208, allocations: 164.3 kB / 286 MB, free: 3.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01208, allocations: 0 / 286 MB, free: 3.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.01216, allocations: 100.2 kB / 286.1 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.01265, allocations: 64.8 kB / 286.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/0.01345, allocations: 0.8149 MB / 287 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.01351, allocations: 89.23 kB / 287.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.678e-05/0.0136, allocations: 38.89 kB / 287.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.01372, allocations: 126.2 kB / 287.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01372, allocations: 0 / 287.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of Templates: time 0.004991/0.01871, allocations: 3.342 MB / 290.6 MB, free: 15.18 MB / 282.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 -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.761262711137533]