Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.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.001419/0.001419, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.001464/0.001464, allocations: 212.5 kB / 22.99 MB, free: 2.961 MB / 13.93 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.9872/0.9872, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.005274/0.005274, allocations: 1.604 MB / 314.8 MB, free: 348 kB / 234.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.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") [Timeout 660] "Notification: ElectricBraking requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 73.89 kB / 437.1 MB, free: 46.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07641/0.07794, allocations: 53.77 MB / 490.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002968/0.0809, allocations: 2.144 MB / 493 MB, free: 8.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.08191, allocations: 0.7752 MB / 493.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.08202, allocations: 7.938 kB / 493.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.0823, allocations: 59.55 kB / 493.9 MB, free: 7.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.08239, allocations: 59.5 kB / 493.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.0826, allocations: 67.83 kB / 494 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.08281, allocations: 199 kB / 494.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.08293, allocations: 29.8 kB / 494.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.08307, allocations: 83.7 kB / 494.3 MB, free: 7.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.08318, allocations: 67.62 kB / 494.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.0832, allocations: 12 kB / 494.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.08327, allocations: 31.94 kB / 494.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.0833, allocations: 35.83 kB / 494.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.08336, allocations: 71.67 kB / 494.5 MB, free: 7.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.0836, allocations: 195.1 kB / 494.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.08361, allocations: 0 / 494.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08361, allocations: 0 / 494.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.08361, allocations: 4 kB / 494.7 MB, free: 6.949 MB / 346.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.0005031/0.08412, allocations: 409.3 kB / 495.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.08415, allocations: 8.031 kB / 495.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.08429, allocations: 36.83 kB / 495.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.08451, allocations: 170.9 kB / 495.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.08452, allocations: 16.31 kB / 495.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.08455, allocations: 12.38 kB / 495.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.08476, allocations: 156.1 kB / 495.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.08477, allocations: 0 / 495.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.08479, allocations: 8 kB / 495.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.0848, allocations: 4 kB / 495.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.08494, allocations: 75.91 kB / 495.6 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.08567, allocations: 0.6164 MB / 496.2 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.08582, allocations: 82.66 kB / 496.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.08587, allocations: 24.86 kB / 496.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.08588, allocations: 0 / 496.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.08589, allocations: 30.75 kB / 496.3 MB, free: 5.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.08589, allocations: 3.938 kB / 496.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002094/0.0861, allocations: 121.5 kB / 496.4 MB, free: 5.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.08613, allocations: 51.41 kB / 496.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.08627, allocations: 182.9 kB / 496.7 MB, free: 4.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.08629, allocations: 25.7 kB / 496.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.08635, allocations: 135.8 kB / 496.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.08639, allocations: 35.69 kB / 496.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.08643, allocations: 33.7 kB / 496.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.08652, allocations: 330.8 kB / 497.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.08656, allocations: 27.98 kB / 497.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.08663, allocations: 70 kB / 497.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.08676, allocations: 109.9 kB / 497.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.08676, allocations: 7.922 kB / 497.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001834/0.08694, allocations: 137.5 kB / 497.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.08696, allocations: 9.734 kB / 497.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.08697, allocations: 8 kB / 497.6 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.08698, allocations: 0 / 497.6 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.08711, allocations: 39.91 kB / 497.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.08711, allocations: 0 / 497.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.08717, allocations: 12.33 kB / 497.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.08718, allocations: 4 kB / 497.6 MB, free: 3.766 MB / 346.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 (17): * Single equations (assignments): 17 * 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.484e-05/0.08726, allocations: 133.7 kB / 497.8 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.08729, allocations: 11.95 kB / 497.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.08733, allocations: 21.34 kB / 497.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.08733, allocations: 3.984 kB / 497.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.08733, allocations: 4 kB / 497.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.08734, allocations: 0 / 497.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.08751, allocations: 161.2 kB / 498 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.08751, allocations: 4 kB / 498 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.08761, allocations: 23.98 kB / 498 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.08761, allocations: 3.938 kB / 498 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.08762, allocations: 4 kB / 498 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.08762, allocations: 4 kB / 498 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.08763, allocations: 0 / 498 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.08783, allocations: 219.3 kB / 498.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.08785, allocations: 15.91 kB / 498.2 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.08787, allocations: 8.047 kB / 498.2 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.08794, allocations: 3.984 kB / 498.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.08796, allocations: 4 kB / 498.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.08796, allocations: 0 / 498.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.364e-05/0.08805, allocations: 135.2 kB / 498.4 MB, free: 2.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08805, allocations: 0 / 498.4 MB, free: 2.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.08831, allocations: 39.89 kB / 498.4 MB, free: 2.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaLoad.w,integrator.y,heatCapacitor.T,eddyCurrentTorque.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 (9): * Single equations (assignments): 9 * 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 6.548e-05/0.08838, allocations: 97.11 kB / 498.5 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.08852, allocations: 79.91 kB / 498.6 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.08852, allocations: 0 / 498.6 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.08855, allocations: 24 kB / 498.6 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.08887, allocations: 32.41 kB / 498.6 MB, free: 2.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.09207, allocations: 0.5953 MB / 499.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.171e-05/0.09215, allocations: 112 kB / 499.4 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.09219, allocations: 19.42 kB / 499.4 MB, free: 1.906 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.09219, allocations: 0 / 499.4 MB, free: 1.906 MB / 346.7 MB Notification: Performance of Templates: time 0.002825/0.09502, allocations: 1.965 MB / 0.4896 GB, free: 15.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9160715360194445]