Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001255/0.001255, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 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.001433/0.001433, allocations: 215.3 kB / 23 MB, free: 5.609 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.445/1.445, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.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.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2557, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003761/0.2595, allocations: 2.284 MB / 432.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2609, allocations: 0.7712 MB / 432.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.261, allocations: 4 kB / 432.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2612, allocations: 39.59 kB / 432.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.2614, allocations: 91.31 kB / 433 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.2618, allocations: 111.7 kB / 433.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.2621, allocations: 290.7 kB / 433.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2623, allocations: 44.38 kB / 433.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2624, allocations: 107.6 kB / 433.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.2626, allocations: 123.4 kB / 433.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.2626, allocations: 20 kB / 433.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.2626, allocations: 23.94 kB / 433.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.2627, allocations: 51.84 kB / 433.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2628, allocations: 135.3 kB / 433.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.2632, allocations: 264.1 kB / 434.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2632, allocations: 0 / 434.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2632, allocations: 0 / 434.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.2632, allocations: 0 / 434.1 MB, free: 3.18 MB / 334.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.0008928/0.2641, allocations: 0.5221 MB / 434.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2641, allocations: 12.03 kB / 434.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.2642, allocations: 32.75 kB / 434.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.2646, allocations: 263.9 kB / 435 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.2646, allocations: 20.81 kB / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.2647, allocations: 20.38 kB / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.2652, allocations: 235 kB / 435.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2652, allocations: 11.95 kB / 435.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.2652, allocations: 8 kB / 435.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2652, allocations: 4 kB / 435.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.2656, allocations: 147.2 kB / 435.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2671, allocations: 1.057 MB / 436.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.2676, allocations: 202.4 kB / 436.6 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.2677, allocations: 59.47 kB / 436.7 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.2677, allocations: 11.92 kB / 436.7 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2678, allocations: 38.56 kB / 436.8 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.915e-06/0.2678, allocations: 7.984 kB / 436.8 MB, free: 308 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005733/0.2684, allocations: 197.3 kB / 437 MB, free: 104 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.2685, allocations: 128.5 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.2687, allocations: 194.8 kB / 437.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2687, allocations: 25.7 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2689, allocations: 176.1 kB / 437.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.2689, allocations: 63.44 kB / 437.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.269, allocations: 53.66 kB / 437.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2692, allocations: 334.8 kB / 437.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.2693, allocations: 51.97 kB / 438 MB, free: 15.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2695, allocations: 169.6 kB / 438.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.2699, allocations: 233.5 kB / 438.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2699, allocations: 0 / 438.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004521/0.2703, allocations: 257.6 kB / 438.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2703, allocations: 19.95 kB / 438.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2704, allocations: 4 kB / 438.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2704, allocations: 4 kB / 438.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2706, allocations: 67.91 kB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2707, allocations: 8 kB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2708, allocations: 27.78 kB / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2708, allocations: 15.98 kB / 438.7 MB, free: 14.13 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 (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 prepare postOptimizeDAE: time 0.0001228/0.2709, allocations: 137.7 kB / 438.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.271, allocations: 23.84 kB / 438.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.2711, allocations: 28.86 kB / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2711, allocations: 4 kB / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2711, allocations: 0 / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2711, allocations: 0 / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.2716, allocations: 269.5 kB / 439.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2716, allocations: 4 kB / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.2718, allocations: 47.97 kB / 439.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.2719, allocations: 7.922 kB / 439.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2719, allocations: 8 kB / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2719, allocations: 3.984 kB / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2719, allocations: 8 kB / 439.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.2725, allocations: 0.5206 MB / 439.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.2726, allocations: 96.89 kB / 439.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.2726, allocations: 8 kB / 439.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2728, allocations: 8 kB / 439.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.2729, allocations: 16.72 kB / 439.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2729, allocations: 4 kB / 439.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.273, allocations: 144.9 kB / 440.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.273, allocations: 0 / 440.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000426/0.2735, allocations: 67.84 kB / 440.1 MB, free: 12.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,signTorque.phi,inertia2.w,linearSpeedDependentTorque.phi,inertia3.w,quadraticSpeedDependentTorque.phi,inertia4.w,inverseSpeedDependentTorque.phi) * 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 (16): * Single equations (assignments): 16 * 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.0001246/0.2736, allocations: 103.2 kB / 440.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.274, allocations: 156.3 kB / 440.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.274, allocations: 0 / 440.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2741, allocations: 60.19 kB / 440.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.2748, allocations: 67.81 kB / 440.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2761, allocations: 0.8253 MB / 441.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.2765, allocations: 0.748 MB / 442.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.896e-05/0.2766, allocations: 26.28 kB / 442.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.2767, allocations: 19.44 kB / 442.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2767, allocations: 4 kB / 442.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.005845/0.2825, allocations: 2.354 MB / 444.5 MB, free: 8.246 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.358526329509914]