Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 77.14 kB / 20.66 MB, free: 3.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.004717/0.004717, allocations: 1.193 MB / 262.2 MB, free: 11.73 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Rotational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking") translateModel(ElectricBraking.Examples.Rotational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 332.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.861e-05, allocations: 6.25 kB / 332.4 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.MechanicalBraking): time 0.002778/0.002796, allocations: 2.431 MB / 334.8 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003881, allocations: 0.9389 MB / 335.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.003979, allocations: 0 / 335.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.00428, allocations: 87.34 kB / 335.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.004458, allocations: 123.1 kB / 335.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.004602, allocations: 99.84 kB / 336 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.004867, allocations: 359.3 kB / 336.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004972, allocations: 37.23 kB / 336.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.005227, allocations: 223.5 kB / 336.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.005416, allocations: 131.6 kB / 336.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.005446, allocations: 28 kB / 336.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.005537, allocations: 79.86 kB / 336.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.005614, allocations: 71.73 kB / 336.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.005683, allocations: 99.73 kB / 337 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.005935, allocations: 279.1 kB / 337.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005937, allocations: 0 / 337.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005938, allocations: 0 / 337.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005942, allocations: 0 / 337.3 MB, free: 14.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006412/0.006583, allocations: 0.6204 MB / 337.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.006614, allocations: 12.03 kB / 337.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.006677, allocations: 44.75 kB / 338 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006873, allocations: 221.8 kB / 338.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.006894, allocations: 20.88 kB / 338.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.006924, allocations: 20.38 kB / 338.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.007156, allocations: 216.3 kB / 338.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.007172, allocations: 16.12 kB / 338.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.007188, allocations: 4.375 kB / 338.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007196, allocations: 7.938 kB / 338.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.007351, allocations: 113.5 kB / 338.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.008289, allocations: 0.9565 MB / 339.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.008441, allocations: 122.4 kB / 339.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.008501, allocations: 59.64 kB / 339.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.008524, allocations: 4 kB / 339.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.008541, allocations: 33.39 kB / 339.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.008542, allocations: 0 / 339.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007109/0.009253, allocations: 368.1 kB / 340.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.009272, allocations: 55.41 kB / 340.2 MB, free: 11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009409, allocations: 265.5 kB / 340.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.009431, allocations: 33.7 kB / 340.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.0095, allocations: 195.1 kB / 340.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.009541, allocations: 79.39 kB / 340.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.009608, allocations: 67.56 kB / 340.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.009708, allocations: 0.5001 MB / 341.3 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.009774, allocations: 52.52 kB / 341.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.009864, allocations: 139 kB / 341.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.01, allocations: 165.6 kB / 341.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01, allocations: 4 kB / 341.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003195/0.01032, allocations: 268.8 kB / 341.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.01033, allocations: 4 kB / 341.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01034, allocations: 4 kB / 341.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.01054, allocations: 139.7 kB / 342.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.01063, allocations: 43.92 kB / 342.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006053/0.01123, allocations: 0.8584 MB / 343 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01134, allocations: 39.89 kB / 343 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01135, allocations: 12 kB / 343 MB, free: 7.992 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.01144, allocations: 172.5 kB / 343.2 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.01148, allocations: 31.86 kB / 343.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.01152, allocations: 33.89 kB / 343.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01152, allocations: 0 / 343.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01152, allocations: 0 / 343.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.01158, allocations: 51.81 kB / 343.3 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.01161, allocations: 8 kB / 343.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.01171, allocations: 23.97 kB / 343.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.01177, allocations: 43.91 kB / 343.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003663/0.01214, allocations: 327.4 kB / 343.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003042/0.01244, allocations: 494.6 kB / 344.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.311e-05/0.01252, allocations: 59.64 kB / 344.2 MB, free: 6.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.01259, allocations: 180.6 kB / 344.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Backend: time 2.5e-07/0.01259, allocations: 0 / 344.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.01375, allocations: 0.5974 MB / 345 MB, free: 6.137 MB / 314.7 MB Notification: Performance of SimCode: time 0.001017/0.01477, allocations: 1.367 MB / 346.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of Templates: time 0.006231/0.021, allocations: 5.318 MB / 351.7 MB, free: 15.45 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9053031392395496]