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.001386/0.001386, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001424/0.001424, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.514/1.514, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.00191/0.00191, allocations: 59.91 kB / 374.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1039, allocations: 53.32 MB / 427.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003779/0.1077, allocations: 2.298 MB / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1092, allocations: 0.7557 MB / 430.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1094, allocations: 8 kB / 430.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1096, allocations: 43.58 kB / 430.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1099, allocations: 83.33 kB / 431 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1103, allocations: 115.7 kB / 431.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.1107, allocations: 298.6 kB / 431.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1109, allocations: 44.39 kB / 431.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.111, allocations: 111.6 kB / 431.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1112, allocations: 119.4 kB / 431.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.1113, allocations: 27.98 kB / 431.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.665e-05/0.1113, allocations: 20 kB / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1114, allocations: 47.84 kB / 431.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1116, allocations: 123.3 kB / 431.9 MB, free: 488 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1119, allocations: 262.8 kB / 432.2 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1119, allocations: 0 / 432.2 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.1119, allocations: 4 kB / 432.2 MB, free: 220 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.112, allocations: 3.984 kB / 432.2 MB, free: 216 kB / 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.2023/0.3142, allocations: 0.5169 MB / 432.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3143, allocations: 9.438 kB / 432.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.3143, allocations: 29.91 kB / 432.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3147, allocations: 265.7 kB / 433 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3147, allocations: 16.47 kB / 433 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.3148, allocations: 25.64 kB / 433 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.3152, allocations: 233 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3153, allocations: 12.11 kB / 433.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.3153, allocations: 13.84 kB / 433.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3153, allocations: 6.719 kB / 433.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3156, allocations: 139.7 kB / 433.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3168, allocations: 1.051 MB / 434.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.3172, allocations: 204.4 kB / 434.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3174, allocations: 63.73 kB / 434.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3174, allocations: 2.375 kB / 434.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3174, allocations: 44.56 kB / 434.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.3174, allocations: 0.9375 kB / 434.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005173/0.3179, allocations: 200.3 kB / 435 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.318, allocations: 134.8 kB / 435.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3181, allocations: 192 kB / 435.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3181, allocations: 25.7 kB / 435.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.3182, allocations: 168.8 kB / 435.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3182, allocations: 73.23 kB / 435.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.3183, allocations: 50.09 kB / 435.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.3183, allocations: 332.8 kB / 435.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3185, allocations: 54.84 kB / 436 MB, free: 9.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3186, allocations: 165.1 kB / 436.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.3189, allocations: 238.2 kB / 436.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3189, allocations: 1.562 kB / 436.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004455/0.3194, allocations: 250.6 kB / 436.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3194, allocations: 9.094 kB / 436.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3194, allocations: 6.438 kB / 436.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3194, allocations: 8.812 kB / 436.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3197, allocations: 71.92 kB / 436.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3197, allocations: 8.359 kB / 436.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3199, allocations: 29.03 kB / 436.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3199, allocations: 19.09 kB / 436.8 MB, free: 9.141 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 9.138e-05/0.32, allocations: 139.9 kB / 436.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.3201, allocations: 16.75 kB / 436.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.3201, allocations: 25.94 kB / 436.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3201, allocations: 3.781 kB / 437 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3201, allocations: 1.281 kB / 437 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3201, allocations: 1.469 kB / 437 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.3205, allocations: 277.8 kB / 437.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3205, allocations: 1.219 kB / 437.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3208, allocations: 53.66 kB / 437.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3208, allocations: 3.906 kB / 437.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3208, allocations: 13.84 kB / 437.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.3208, allocations: 4.984 kB / 437.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3208, allocations: 1.125 kB / 437.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.3213, allocations: 0.5179 MB / 437.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3214, allocations: 91.91 kB / 437.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3214, allocations: 12.47 kB / 437.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3216, allocations: 3.781 kB / 437.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.3217, allocations: 21.42 kB / 437.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3217, allocations: 4.406 kB / 437.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.58e-05/0.3218, allocations: 142 kB / 438.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3218, allocations: 4 kB / 438.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004307/0.3222, allocations: 67.44 kB / 438.2 MB, free: 8.152 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.0001021/0.3223, allocations: 102.6 kB / 438.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.3227, allocations: 154.7 kB / 438.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3227, allocations: 0 / 438.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3228, allocations: 73.78 kB / 438.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.3235, allocations: 58.98 kB / 438.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3246, allocations: 0.8499 MB / 439.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.3248, allocations: 0.7466 MB / 440.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.3249, allocations: 22.61 kB / 440.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3249, allocations: 0 / 440.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of Templates: time 0.005472/0.3304, allocations: 2.843 MB / 443 MB, free: 6.336 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: 7.381398422177881] Failed to read output from testmodel.py, exit status != 0: 0.33849655697122216 0.34867289500000004 0.234299099 Calling exit ...