Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001295/0.001295, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001401/0.001401, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2218, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003563/0.2253, allocations: 2.308 MB / 434.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2266, allocations: 0.7595 MB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2267, allocations: 4 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2269, allocations: 39.58 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.2271, allocations: 91.33 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.2274, allocations: 107.7 kB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.2278, allocations: 298.7 kB / 435.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2279, allocations: 40.38 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2281, allocations: 115.6 kB / 435.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2283, allocations: 119.4 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.2283, allocations: 20 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.764e-05/0.2283, allocations: 20 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.2284, allocations: 59.75 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2285, allocations: 119.3 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.2288, allocations: 264.4 kB / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2288, allocations: 0 / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2288, allocations: 0 / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2288, allocations: 0 / 436.4 MB, free: 3.023 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.0008237/0.2297, allocations: 0.5338 MB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2297, allocations: 8.031 kB / 436.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.2298, allocations: 32.69 kB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2301, allocations: 260.4 kB / 437.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2301, allocations: 12.81 kB / 437.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.2302, allocations: 24.38 kB / 437.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.2306, allocations: 239 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.2307, allocations: 11.89 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.2307, allocations: 11.98 kB / 437.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2307, allocations: 8 kB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.231, allocations: 131.9 kB / 437.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2326, allocations: 1.061 MB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.233, allocations: 206.4 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.2332, allocations: 67.42 kB / 439 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2332, allocations: 4 kB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2332, allocations: 38.56 kB / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2332, allocations: 0 / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006039/0.2338, allocations: 193.3 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.2339, allocations: 140.5 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.2341, allocations: 191.2 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2342, allocations: 33.7 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2343, allocations: 164.1 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.2343, allocations: 71.38 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.2344, allocations: 49.66 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2346, allocations: 330.8 kB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2347, allocations: 55.97 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2349, allocations: 169.6 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2353, allocations: 233.5 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2354, allocations: 4 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005074/0.2359, allocations: 265.4 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2359, allocations: 4 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2359, allocations: 7.938 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2359, allocations: 8 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.2362, allocations: 63.91 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2362, allocations: 7.984 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.2364, allocations: 27.83 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.2364, allocations: 20.34 kB / 441 MB, free: 13.97 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.000132/0.2365, allocations: 141.7 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.2366, allocations: 15.91 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.2367, allocations: 28.86 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2367, allocations: 4 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2367, allocations: 0 / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.2367, allocations: 96.95 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2368, allocations: 8.75 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.237, allocations: 7.938 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.2371, allocations: 15.98 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007705/0.2378, allocations: 0.5024 MB / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007058/0.2385, allocations: 0.6097 MB / 442.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001664/0.2387, allocations: 63.89 kB / 442.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2388, allocations: 140.2 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.2388, allocations: 4 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007728/0.2396, allocations: 178.2 kB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 0.001695/0.2413, allocations: 1.301 MB / 444.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Templates: time 0.007003/0.2483, allocations: 2.92 MB / 447 MB, free: 7.859 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.239279258064926] Failed to read output from testmodel.py, exit status != 0: 0.2561450502835214 0.270632195 0.038793720000000004 Calling exit ...