Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.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.00102/0.00102, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.001091/0.001091, allocations: 169 kB / 24.22 MB, free: 244 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 1.006/1.006, allocations: 177.1 MB / 204.7 MB, free: 5.438 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.005044/0.005044, allocations: 1.211 MB / 262.4 MB, free: 11.71 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.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.427e-05, allocations: 6.25 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.003476/0.00351, allocations: 2.335 MB / 281.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.005199, allocations: 0.8334 MB / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.005389, allocations: 11.88 kB / 282.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.005734, allocations: 63.55 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.005875, allocations: 67.42 kB / 282.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.006136, allocations: 67.77 kB / 282.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.006416, allocations: 210.9 kB / 282.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.006553, allocations: 42.38 kB / 282.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.006829, allocations: 119.7 kB / 283.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.006959, allocations: 63.8 kB / 283.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.006985, allocations: 12 kB / 283.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.007095, allocations: 28 kB / 283.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.007124, allocations: 35.83 kB / 283.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.00718, allocations: 67.72 kB / 283.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.007455, allocations: 147.4 kB / 283.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007459, allocations: 0 / 283.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007459, allocations: 0 / 283.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.007466, allocations: 0 / 283.4 MB, free: 6.641 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005613/0.008028, allocations: 391.9 kB / 283.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.008074, allocations: 12.03 kB / 283.8 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.008268, allocations: 36.91 kB / 283.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.008491, allocations: 165.5 kB / 284 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.008505, allocations: 12.38 kB / 284 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.008538, allocations: 20.33 kB / 284 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.008705, allocations: 136.6 kB / 284.2 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.008718, allocations: 192 / 284.2 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.008732, allocations: 7.938 kB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00874, allocations: 4 kB / 284.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.008813, allocations: 39.92 kB / 284.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.009424, allocations: 0.4993 MB / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.009562, allocations: 78.41 kB / 284.8 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.009591, allocations: 12.86 kB / 284.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.009605, allocations: 4 kB / 284.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.009637, allocations: 30.56 kB / 284.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.654e-06/0.009639, allocations: 0 / 284.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007868/0.01043, allocations: 345.1 kB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.01046, allocations: 55.41 kB / 285.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01058, allocations: 176.2 kB / 285.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.0106, allocations: 33.7 kB / 285.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.01067, allocations: 128.3 kB / 285.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.0107, allocations: 51.58 kB / 285.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.01074, allocations: 33.7 kB / 285.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.01084, allocations: 334.8 kB / 286 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.01086, allocations: 8 kB / 286 MB, free: 3.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.01091, allocations: 65.92 kB / 286 MB, free: 3.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.246e-05/0.011, allocations: 97.77 kB / 286.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.011, allocations: 7.938 kB / 286.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001426/0.01115, allocations: 113.5 kB / 286.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.01117, allocations: 8 kB / 286.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01117, allocations: 0 / 286.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01118, allocations: 4 kB / 286.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.01135, allocations: 47.92 kB / 286.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01136, allocations: 7.922 kB / 286.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.01141, allocations: 8 kB / 286.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01142, allocations: 12.14 kB / 286.3 MB, free: 3.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.883e-05/0.01151, allocations: 121.7 kB / 286.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.01154, allocations: 15.98 kB / 286.5 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.01158, allocations: 17.47 kB / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01158, allocations: 0 / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01159, allocations: 0 / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.01159, allocations: 7.984 kB / 286.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.01194, allocations: 296.2 kB / 286.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01194, allocations: 4.062 kB / 286.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.01206, allocations: 39.16 kB / 286.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.01207, allocations: 4.031 kB / 286.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01208, allocations: 8 kB / 286.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01208, allocations: 0 / 286.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01208, allocations: 3.938 kB / 286.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01225, allocations: 209.1 kB / 287.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01228, allocations: 11.91 kB / 287.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01229, allocations: 11.94 kB / 287.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.01234, allocations: 8 kB / 287.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.01236, allocations: 11.92 kB / 287.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.01237, allocations: 4 kB / 287.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.01241, allocations: 50.77 kB / 287.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01241, allocations: 0 / 287.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.01258, allocations: 36 kB / 287.2 MB, free: 2.559 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 8.477e-05/0.01267, allocations: 84.36 kB / 287.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.01279, allocations: 72.94 kB / 287.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.01279, allocations: 4.062 kB / 287.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.01282, allocations: 32.8 kB / 287.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.01304, allocations: 31.97 kB / 287.4 MB, free: 2.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.0139, allocations: 477.8 kB / 287.9 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.01396, allocations: 75.98 kB / 287.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.01403, allocations: 21.47 kB / 288 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.01411, allocations: 79.34 kB / 288 MB, free: 1.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01411, allocations: 0 / 288 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Templates: time 0.1558/0.1699, allocations: 1.829 MB / 289.9 MB, free: 25.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6844666665419936]