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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 58.75 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003612/0.1218, allocations: 2.356 MB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1232, allocations: 0.7673 MB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1233, allocations: 7.938 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1235, allocations: 39.59 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1237, allocations: 79.33 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1241, allocations: 115.7 kB / 362.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1244, allocations: 310.6 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.1246, allocations: 68.7 kB / 362.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1247, allocations: 115.5 kB / 362.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1249, allocations: 131.4 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.125, allocations: 20 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.125, allocations: 24 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1251, allocations: 47.78 kB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1252, allocations: 135.3 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1255, allocations: 266.9 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1255, allocations: 0 / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1255, allocations: 0 / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1255, allocations: 0 / 363.3 MB, free: 8.867 MB / 302.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.00104/0.1265, allocations: 0.5497 MB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1266, allocations: 11.97 kB / 363.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1267, allocations: 32.56 kB / 363.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.127, allocations: 249.6 kB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1271, allocations: 16.81 kB / 364.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.1271, allocations: 28.28 kB / 364.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.1276, allocations: 242.9 kB / 364.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1277, allocations: 0 / 364.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.1277, allocations: 12 kB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1277, allocations: 4 kB / 364.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.1281, allocations: 167.8 kB / 364.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1294, allocations: 1.02 MB / 365.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.13, allocations: 294.3 kB / 365.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.1302, allocations: 95.41 kB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1302, allocations: 4 kB / 366 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1302, allocations: 46.48 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.1302, allocations: 0 / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00209/0.1323, allocations: 1.324 MB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.1325, allocations: 136.5 kB / 367.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1327, allocations: 202.8 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1327, allocations: 29.7 kB / 367.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1329, allocations: 156.4 kB / 367.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.133, allocations: 122.3 kB / 368 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1331, allocations: 70.08 kB / 368.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1333, allocations: 338.7 kB / 368.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1335, allocations: 84.83 kB / 368.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1338, allocations: 194.1 kB / 368.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.1342, allocations: 305.9 kB / 369 MB, free: 2.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1342, allocations: 0 / 369 MB, free: 2.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005831/0.1348, allocations: 349.2 kB / 369.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1349, allocations: 8 kB / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1349, allocations: 4 kB / 369.4 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1349, allocations: 8 kB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.1353, allocations: 95.83 kB / 369.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1353, allocations: 4 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1354, allocations: 15.94 kB / 369.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1355, allocations: 16 kB / 369.5 MB, free: 2.082 MB / 302.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.0001401/0.1356, allocations: 153.6 kB / 369.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.1357, allocations: 31.72 kB / 369.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.1358, allocations: 29.41 kB / 369.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1358, allocations: 4 kB / 369.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1358, allocations: 0 / 369.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1358, allocations: 11.92 kB / 369.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1372, allocations: 0.9633 MB / 370.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1373, allocations: 4 kB / 370.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.1376, allocations: 79.89 kB / 370.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1376, allocations: 4.25 kB / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1377, allocations: 12 kB / 370.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1377, allocations: 4 kB / 370.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1377, allocations: 7.938 kB / 370.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.189/0.3267, allocations: 0.7013 MB / 371.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3269, allocations: 100.8 kB / 371.6 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.3269, allocations: 11.98 kB / 371.6 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.3273, allocations: 11.28 kB / 371.6 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.3274, allocations: 33.2 kB / 371.7 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.3274, allocations: 10.67 kB / 371.7 MB, free: 20.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3275, allocations: 144.9 kB / 371.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3275, allocations: 4.391 kB / 371.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006143/0.3282, allocations: 68.77 kB / 371.9 MB, free: 20.05 MB / 302.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.0001138/0.3283, allocations: 108.7 kB / 372 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.3288, allocations: 236.9 kB / 372.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3288, allocations: 0.8438 kB / 372.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.3291, allocations: 128.3 kB / 372.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.3298, allocations: 72.61 kB / 372.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3311, allocations: 0.9413 MB / 373.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3314, allocations: 0.7594 MB / 374.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.3315, allocations: 38.33 kB / 374.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.3316, allocations: 31.42 kB / 374.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3316, allocations: 0 / 374.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of Templates: time 0.006621/0.3382, allocations: 2.923 MB / 377.1 MB, free: 18.48 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (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 cvode -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)