Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.001869/0.001869, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002156/0.002156, allocations: 169.9 kB / 22.45 MB, free: 2.105 MB / 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 1.636/1.636, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.009362/0.009362, allocations: 1.196 MB / 260.4 MB, free: 12.1 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.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 383.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.079e-05, allocations: 2.281 kB / 383.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.004793/0.004823, allocations: 2.377 MB / 385.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.006651, allocations: 0.9155 MB / 386.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.006789, allocations: 4 kB / 386.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.007222, allocations: 95.27 kB / 386.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.007518, allocations: 111.1 kB / 387 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.007773, allocations: 111.8 kB / 387.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.00826, allocations: 375.2 kB / 387.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.008407, allocations: 33.25 kB / 387.5 MB, free: 9.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.008838, allocations: 227.5 kB / 387.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.0091, allocations: 131.6 kB / 387.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.009164, allocations: 28 kB / 387.9 MB, free: 8.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.009342, allocations: 83.91 kB / 388 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.009488, allocations: 71.73 kB / 388.1 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.009636, allocations: 103.7 kB / 388.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.01023, allocations: 386.8 kB / 388.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01023, allocations: 3.938 kB / 388.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01023, allocations: 0 / 388.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.01024, allocations: 0 / 388.5 MB, free: 8.113 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001165/0.0114, allocations: 0.5362 MB / 389.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.01145, allocations: 12.03 kB / 389.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.01153, allocations: 28.75 kB / 389.1 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.01194, allocations: 229 kB / 389.3 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.01197, allocations: 12.88 kB / 389.4 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.01202, allocations: 20.38 kB / 389.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.01259, allocations: 284.1 kB / 389.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01261, allocations: 192 / 389.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.01264, allocations: 8.375 kB / 389.7 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.01265, allocations: 11.94 kB / 389.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.01319, allocations: 225.8 kB / 389.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.0148, allocations: 0.8212 MB / 390.7 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.01524, allocations: 195.3 kB / 390.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.01546, allocations: 96.86 kB / 391 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.01549, allocations: 0 / 391 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.01552, allocations: 34.56 kB / 391 MB, free: 5.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.192e-06/0.01553, allocations: 0 / 391 MB, free: 5.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.00307/0.0186, allocations: 0.9866 MB / 392 MB, free: 4.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.01865, allocations: 59.34 kB / 392.1 MB, free: 4.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.01897, allocations: 233.7 kB / 392.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.01902, allocations: 41.69 kB / 392.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.01916, allocations: 148.9 kB / 392.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.01926, allocations: 95.27 kB / 392.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.01938, allocations: 61.64 kB / 392.6 MB, free: 3.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.01956, allocations: 330.8 kB / 393 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.01981, allocations: 111.7 kB / 393.1 MB, free: 3.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.02011, allocations: 176.3 kB / 393.3 MB, free: 3.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.02056, allocations: 229 kB / 393.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.02056, allocations: 0 / 393.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008714/0.02144, allocations: 391.4 kB / 393.9 MB, free: 2.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.02145, allocations: 4 kB / 393.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.02146, allocations: 4 kB / 393.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.02193, allocations: 173 kB / 394 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.02214, allocations: 43.92 kB / 394.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/0.02295, allocations: 0.6811 MB / 394.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.02321, allocations: 35.95 kB / 394.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.02324, allocations: 24 kB / 394.8 MB, free: 1.504 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 (30): * Single equations (assignments): 29 * 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 0.0001798/0.02342, allocations: 145.8 kB / 395 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.02348, allocations: 23.86 kB / 395 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.02356, allocations: 34.27 kB / 395 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.02357, allocations: 4 kB / 395 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.02357, allocations: 0 / 395 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.02359, allocations: 3.984 kB / 395 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.02525, allocations: 0.7304 MB / 395.8 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02526, allocations: 0 / 395.8 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.02545, allocations: 35.98 kB / 395.8 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.02579, allocations: 156.8 kB / 395.9 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.02581, allocations: 8 kB / 395.9 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/0.02657, allocations: 0.6615 MB / 396.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02657, allocations: 0 / 396.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.02762, allocations: 0.5328 MB / 397.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.02774, allocations: 51.81 kB / 397.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.02779, allocations: 11.98 kB / 397.2 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.02799, allocations: 23.98 kB / 397.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.02813, allocations: 47.91 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.02816, allocations: 11.98 kB / 397.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.02837, allocations: 173.2 kB / 397.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02837, allocations: 4 kB / 397.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.02873, allocations: 60 kB / 397.5 MB, free: 14.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * Number of discrete variables: 5 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 3 (brake.mode,brake.startForward,brake.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.03111, allocations: 402.4 kB / 397.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.03179, allocations: 259.7 kB / 398.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03179, allocations: 0 / 398.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.03212, allocations: 138.7 kB / 398.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.03258, allocations: 48 kB / 398.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.0348, allocations: 0.7032 MB / 399.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.035, allocations: 158.1 kB / 399.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.03512, allocations: 26.28 kB / 399.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.03519, allocations: 24.48 kB / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03519, allocations: 0 / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of Templates: time 0.01066/0.04585, allocations: 4.58 MB / 403.8 MB, free: 8.516 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.966563373804092]