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.002261/0.002261, 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.002628/0.002628, allocations: 169.9 kB / 22.46 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.628/1.628, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.009936/0.009936, allocations: 1.194 MB / 260.4 MB, free: 12.12 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 1.743e-06/1.743e-06, allocations: 0 / 383.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.935e-05, allocations: 5.094 kB / 383.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.003855/0.003884, allocations: 2.187 MB / 385.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005435, allocations: 0.7789 MB / 386.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.00556, allocations: 4 kB / 386.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.005862, allocations: 59.56 kB / 386.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.006003, allocations: 71.41 kB / 386.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.006239, allocations: 59.8 kB / 386.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.006557, allocations: 218.8 kB / 386.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.0067, allocations: 29.78 kB / 386.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.006958, allocations: 123.6 kB / 387.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.00711, allocations: 63.8 kB / 387.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.007141, allocations: 16 kB / 387.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.007235, allocations: 27.98 kB / 387.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.007278, allocations: 31.84 kB / 387.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.007365, allocations: 63.78 kB / 387.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.007714, allocations: 199.3 kB / 387.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007717, allocations: 0 / 387.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007718, allocations: 0 / 387.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.007723, allocations: 0 / 387.4 MB, free: 9.23 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007936/0.008517, allocations: 421.3 kB / 387.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.008561, allocations: 12.03 kB / 387.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.008752, allocations: 32.78 kB / 387.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.009048, allocations: 181.9 kB / 388.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.009068, allocations: 8.375 kB / 388.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.009107, allocations: 16.38 kB / 388.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.009401, allocations: 140.8 kB / 388.2 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.009425, allocations: 16.11 kB / 388.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.009446, allocations: 7.938 kB / 388.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.009454, allocations: 4 kB / 388.3 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.009635, allocations: 75.97 kB / 388.3 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01067, allocations: 0.6049 MB / 388.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.0109, allocations: 98.61 kB / 389 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.706e-05/0.01097, allocations: 32.89 kB / 389.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.01098, allocations: 4 kB / 389.1 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.01103, allocations: 42.66 kB / 389.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.01103, allocations: 3.938 kB / 389.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001331/0.01236, allocations: 412.8 kB / 389.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.01241, allocations: 51.41 kB / 389.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.01263, allocations: 187.9 kB / 389.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.01266, allocations: 33.7 kB / 389.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01277, allocations: 136.3 kB / 389.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.01282, allocations: 51.53 kB / 390 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.01289, allocations: 37.72 kB / 390 MB, free: 6.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004743/0.01337, allocations: 330.8 kB / 390.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.01344, allocations: 31.98 kB / 390.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.01356, allocations: 85.12 kB / 390.5 MB, free: 5.988 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.01377, allocations: 141.8 kB / 390.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01377, allocations: 0 / 390.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002773/0.01405, allocations: 157.4 kB / 390.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.01407, allocations: 11.98 kB / 390.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01408, allocations: 4.156 kB / 390.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.01409, allocations: 4 kB / 390.8 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.01429, allocations: 35.92 kB / 390.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.0143, allocations: 4 kB / 390.8 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.01438, allocations: 8 kB / 390.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01439, allocations: 4 kB / 390.8 MB, free: 5.598 MB / 314.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 0.0001366/0.01453, allocations: 133.7 kB / 390.9 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.01457, allocations: 15.91 kB / 391 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.01462, allocations: 21.45 kB / 391 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01463, allocations: 0 / 391 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01463, allocations: 4 kB / 391 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01464, allocations: 3.938 kB / 391 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.01528, allocations: 395.7 kB / 391.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01528, allocations: 0 / 391.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.01545, allocations: 31.92 kB / 391.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01546, allocations: 4 kB / 391.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.01548, allocations: 4 kB / 391.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01548, allocations: 0 / 391.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01548, allocations: 4.062 kB / 391.4 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.01586, allocations: 284.5 kB / 391.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.01589, allocations: 11.91 kB / 391.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01592, allocations: 4.141 kB / 391.7 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.01601, allocations: 4 kB / 391.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.01606, allocations: 15.95 kB / 391.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01606, allocations: 4 kB / 391.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.01621, allocations: 141.2 kB / 391.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01621, allocations: 0 / 391.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.01649, allocations: 32 kB / 391.9 MB, free: 4.438 MB / 314.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 0.0001288/0.01662, allocations: 99.25 kB / 392 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.01683, allocations: 92.72 kB / 392.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01683, allocations: 0 / 392.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.01691, allocations: 43.86 kB / 392.1 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.01731, allocations: 35.47 kB / 392.2 MB, free: 4.168 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.01839, allocations: 496.1 kB / 392.7 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.01853, allocations: 116.2 kB / 392.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.343e-05/0.01862, allocations: 25.47 kB / 392.8 MB, free: 3.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.01866, allocations: 16.5 kB / 392.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01866, allocations: 0 / 392.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of Templates: time 0.005531/0.02419, allocations: 1.602 MB / 394.4 MB, free: 1.898 MB / 314.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: 4.725003137253225]