Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.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.0009466/0.0009466, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00113/0.00113, 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 1.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo): time 0.0131/0.0131, allocations: 3.2 MB / 264.2 MB, free: 9.727 MB / 250.7 MB " [Timeout remaining time 180] Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.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(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 335 MB, free: 272 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.712e-05, allocations: 4.984 kB / 335 MB, free: 268 kB / 298.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002254/0.002281, allocations: 1.643 MB / 336.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.003214, allocations: 0.8647 MB / 337.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.003265, allocations: 0 / 337.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.003612, allocations: 141.8 kB / 337.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.003685, allocations: 63.61 kB / 337.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.933e-05/0.003714, allocations: 7.984 kB / 337.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.003827, allocations: 155.2 kB / 337.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.003867, allocations: 5.312 kB / 337.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003969, allocations: 71.81 kB / 338 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.004089, allocations: 51.81 kB / 338 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.004113, allocations: 12 kB / 338 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/0.004132, allocations: 8 kB / 338 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.004162, allocations: 27.84 kB / 338.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.004212, allocations: 47.83 kB / 338.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.004345, allocations: 75.61 kB / 338.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004347, allocations: 0 / 338.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.004348, allocations: 0 / 338.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.004353, allocations: 0 / 338.2 MB, free: 13.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005538/0.004907, allocations: 499.8 kB / 338.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.004943, allocations: 8.031 kB / 338.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.004983, allocations: 16.84 kB / 338.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.005401, allocations: 165.2 kB / 338.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.005412, allocations: 8.375 kB / 338.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.00542, allocations: 384 / 338.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.005601, allocations: 63.95 kB / 338.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.005608, allocations: 192 / 338.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005615, allocations: 8.312 kB / 338.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.005622, allocations: 7.938 kB / 339 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.005649, allocations: 15.92 kB / 339 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.005916, allocations: 264.4 kB / 339.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.006097, allocations: 55.08 kB / 339.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.006117, allocations: 11.69 kB / 339.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.006129, allocations: 0 / 339.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.006151, allocations: 37.39 kB / 339.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.006152, allocations: 3.938 kB / 339.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001354/0.006287, allocations: 69.7 kB / 339.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.006313, allocations: 55.41 kB / 339.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.006477, allocations: 267.8 kB / 339.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.006489, allocations: 25.7 kB / 339.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.006561, allocations: 166.8 kB / 339.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.006572, allocations: 23.81 kB / 339.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.006601, allocations: 19.38 kB / 339.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.00672, allocations: 0.5001 MB / 340.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.006734, allocations: 7.984 kB / 340.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.006744, allocations: 4.016 kB / 340.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.006778, allocations: 23.62 kB / 340.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00678, allocations: 0 / 340.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.929e-05/0.006859, allocations: 69.58 kB / 340.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.00687, allocations: 4 kB / 340.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006876, allocations: 7.938 kB / 340.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.006884, allocations: 192 / 340.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.006952, allocations: 15.98 kB / 340.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.006954, allocations: 0 / 340.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.007007, allocations: 7.984 kB / 340.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.007011, allocations: 0 / 340.6 MB, free: 10.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.158e-05/0.007073, allocations: 160.5 kB / 340.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.007099, allocations: 15.91 kB / 340.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.007124, allocations: 24.95 kB / 340.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.007127, allocations: 4 kB / 340.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.007128, allocations: 0 / 340.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007131, allocations: 0 / 340.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.007245, allocations: 129.2 kB / 340.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007246, allocations: 3.938 kB / 340.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.007294, allocations: 15.98 kB / 340.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007296, allocations: 0 / 340.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.007301, allocations: 0 / 340.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007301, allocations: 0 / 340.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.007303, allocations: 3.938 kB / 340.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007422, allocations: 219.8 kB / 341.1 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.007448, allocations: 19.89 kB / 341.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.007464, allocations: 4 kB / 341.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.007533, allocations: 0 / 341.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.007544, allocations: 3.938 kB / 341.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.007549, allocations: 7.984 kB / 341.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.75e-05/0.007637, allocations: 196.3 kB / 341.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007637, allocations: 0 / 341.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.007786, allocations: 20 kB / 341.4 MB, free: 9.609 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (4): * Single equations (assignments): 4 * 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.666e-05/0.007853, allocations: 95.25 kB / 341.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.007927, allocations: 23.67 kB / 341.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007928, allocations: 0 / 341.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.007946, allocations: 23.61 kB / 341.5 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.008154, allocations: 19.77 kB / 341.6 MB, free: 9.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.00861, allocations: 282.5 kB / 341.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.008653, allocations: 63.2 kB / 341.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.008694, allocations: 12.48 kB / 341.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.008768, allocations: 82.19 kB / 342 MB, free: 8.949 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008769, allocations: 4 kB / 342 MB, free: 8.945 MB / 314.7 MB Notification: Performance of Templates: time 0.003013/0.01178, allocations: 1.605 MB / 343.6 MB, free: 7.359 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile [Timeout 660] (rm -f MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; mkfifo MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; head -c 1048576 < MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe >> ../files/MagLev_MagLev.Examples.SteadyStateCharacteristic.sim & ./MagLev_MagLev.Examples.SteadyStateCharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.878235570155084]