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.001635/0.001635, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.00206/0.00206, allocations: 164.6 kB / 24.5 MB, free: 3.449 MB / 14.72 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.441/1.441, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 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 0.002779/0.002779, allocations: 62.3 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1194, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003824/0.1232, allocations: 2.221 MB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1252, allocations: 0.7284 MB / 381.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.1254, allocations: 7.938 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.1256, allocations: 39.58 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.1259, allocations: 83.27 kB / 382 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.1263, allocations: 119.7 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.1268, allocations: 310.6 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1269, allocations: 44.91 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.1271, allocations: 115.5 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1273, allocations: 111.4 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.1273, allocations: 20 kB / 382.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.1274, allocations: 24 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.1274, allocations: 55.77 kB / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1276, allocations: 111.5 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1279, allocations: 274.8 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1279, allocations: 0 / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.828e-06/0.1279, allocations: 7.984 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1279, allocations: 0 / 383.2 MB, free: 11.22 MB / 350.1 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.000945/0.1289, allocations: 485.5 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1289, allocations: 11.98 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.129, allocations: 36.73 kB / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1293, allocations: 200 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1294, allocations: 16.88 kB / 383.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.1294, allocations: 24.38 kB / 383.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1299, allocations: 235.8 kB / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.1299, allocations: 11.94 kB / 384.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1299, allocations: 8 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.1299, allocations: 7.984 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.1303, allocations: 163.8 kB / 384.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1316, allocations: 0.9035 MB / 385.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.1322, allocations: 274.6 kB / 385.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1324, allocations: 95.33 kB / 385.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1324, allocations: 4 kB / 385.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1324, allocations: 38.56 kB / 385.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.1324, allocations: 4 kB / 385.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0019/0.1343, allocations: 1.036 MB / 386.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.1344, allocations: 136.5 kB / 386.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1346, allocations: 210.8 kB / 387 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1346, allocations: 29.7 kB / 387 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1348, allocations: 160.7 kB / 387.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1349, allocations: 122.9 kB / 387.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.135, allocations: 70.19 kB / 387.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1351, allocations: 338.8 kB / 387.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1353, allocations: 80.91 kB / 387.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.1356, allocations: 202.6 kB / 388 MB, free: 5.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.1361, allocations: 297.7 kB / 388.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1361, allocations: 4 kB / 388.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006386/0.1368, allocations: 345.3 kB / 388.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1368, allocations: 8 kB / 388.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1368, allocations: 4 kB / 388.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1368, allocations: 4 kB / 388.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1372, allocations: 99.83 kB / 388.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1372, allocations: 4.312 kB / 388.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1374, allocations: 16 kB / 388.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1374, allocations: 12 kB / 388.8 MB, free: 5.117 MB / 350.1 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.0001487/0.1375, allocations: 157.6 kB / 388.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.1376, allocations: 27.89 kB / 389 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.1377, allocations: 33.47 kB / 389 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1377, allocations: 7.984 kB / 389 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1377, allocations: 0 / 389 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1377, allocations: 0 / 389 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.1392, allocations: 0.8657 MB / 389.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1392, allocations: 8.062 kB / 389.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.1396, allocations: 75.89 kB / 389.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.1396, allocations: 11.94 kB / 390 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1396, allocations: 12 kB / 390 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.1396, allocations: 12.12 kB / 390 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.1396, allocations: 7.984 kB / 390 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.1405, allocations: 0.7002 MB / 390.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1406, allocations: 31.78 kB / 390.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.1406, allocations: 12 kB / 390.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.1409, allocations: 11.98 kB / 390.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.141, allocations: 31.84 kB / 390.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.141, allocations: 15.98 kB / 390.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1411, allocations: 140.6 kB / 390.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1411, allocations: 0 / 390.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.1416, allocations: 71.94 kB / 391 MB, free: 2.773 MB / 350.1 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.0001279/0.1418, allocations: 115.1 kB / 391.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.1423, allocations: 223.7 kB / 391.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1423, allocations: 0 / 391.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.1425, allocations: 120.8 kB / 391.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.1433, allocations: 67.25 kB / 391.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1449, allocations: 0.9515 MB / 392.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.1451, allocations: 159 kB / 392.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1452, allocations: 30.97 kB / 392.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.1453, allocations: 32.5 kB / 392.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1453, allocations: 0 / 392.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Templates: time 0.007332/0.1526, allocations: 3.058 MB / 395.7 MB, free: 13.99 MB / 366.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/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.679949147044681]