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.0008812/0.0008812, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009572/0.0009572, allocations: 173 kB / 23.36 MB, free: 1.129 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.0223/0.0223, allocations: 3.205 MB / 263.5 MB, free: 9.773 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.854e-06/1.854e-06, allocations: 0 / 281 MB, free: 8.254 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.472e-05, allocations: 2.312 kB / 281 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001756/0.00177, allocations: 1.632 MB / 282.6 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.002666, allocations: 0.8835 MB / 283.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.002715, allocations: 4 kB / 283.5 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.003071, allocations: 143.1 kB / 283.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.003143, allocations: 71.47 kB / 283.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.988e-05/0.003172, allocations: 7.984 kB / 283.7 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003293, allocations: 143.2 kB / 283.9 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.00333, allocations: 9.953 kB / 283.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.003418, allocations: 75.81 kB / 283.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.003528, allocations: 59.78 kB / 284 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.003549, allocations: 8 kB / 284 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.003566, allocations: 16 kB / 284 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.003591, allocations: 19.86 kB / 284 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.00363, allocations: 43.84 kB / 284.1 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.003735, allocations: 71.67 kB / 284.2 MB, free: 5.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003737, allocations: 4 kB / 284.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003738, allocations: 0 / 284.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.003741, allocations: 0 / 284.2 MB, free: 5.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00044/0.004181, allocations: 360.1 kB / 284.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.004211, allocations: 12.03 kB / 284.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.004242, allocations: 8.922 kB / 284.5 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.004361, allocations: 162.4 kB / 284.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004371, allocations: 4.375 kB / 284.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.00438, allocations: 384 / 284.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.004457, allocations: 67.95 kB / 284.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004463, allocations: 192 / 284.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.00447, allocations: 4.375 kB / 284.8 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.004475, allocations: 3.938 kB / 284.8 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.004497, allocations: 7.984 kB / 284.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.004693, allocations: 164.2 kB / 284.9 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.004849, allocations: 46.48 kB / 285 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.004867, allocations: 12.92 kB / 285 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.004876, allocations: 0 / 285 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.004895, allocations: 30.56 kB / 285 MB, free: 4.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004896, allocations: 0 / 285 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001013/0.004997, allocations: 65.55 kB / 285.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.005022, allocations: 55.34 kB / 285.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.005135, allocations: 196.5 kB / 285.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.005143, allocations: 25.7 kB / 285.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.005185, allocations: 104 kB / 285.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.005193, allocations: 11.89 kB / 285.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.005218, allocations: 17.72 kB / 285.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.00529, allocations: 326.8 kB / 285.8 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.005298, allocations: 4 kB / 285.8 MB, free: 3.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.00531, allocations: 7.984 kB / 285.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.005338, allocations: 16.86 kB / 285.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005339, allocations: 0 / 285.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.262e-05/0.005392, allocations: 57.61 kB / 285.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.005402, allocations: 8 kB / 285.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005405, allocations: 0 / 285.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005416, allocations: 3.938 kB / 285.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.005475, allocations: 12.17 kB / 285.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00548, allocations: 4 kB / 285.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.005522, allocations: 4 kB / 285.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005527, allocations: 3.984 kB / 285.9 MB, free: 3.117 MB / 266.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 5.156e-05/0.005578, allocations: 113.8 kB / 286 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.005595, allocations: 4 kB / 286 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.005619, allocations: 21.02 kB / 286.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005621, allocations: 3.938 kB / 286.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.005622, allocations: 0 / 286.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005626, allocations: 4 kB / 286.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.758e-05/0.005724, allocations: 93.8 kB / 286.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005725, allocations: 0 / 286.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.005766, allocations: 11.98 kB / 286.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005767, allocations: 3.938 kB / 286.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.005773, allocations: 7.984 kB / 286.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.005774, allocations: 4 kB / 286.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.005775, allocations: 0 / 286.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.212e-05/0.005857, allocations: 151.6 kB / 286.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.005878, allocations: 11.89 kB / 286.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.005891, allocations: 0 / 286.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.005954, allocations: 4 kB / 286.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.005966, allocations: 11.86 kB / 286.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.005968, allocations: 0 / 286.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.006024, allocations: 78.03 kB / 286.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006024, allocations: 0 / 286.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001211/0.006145, allocations: 16 kB / 286.5 MB, free: 2.539 MB / 266.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.327e-05/0.006208, allocations: 76.42 kB / 286.5 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.56e-05/0.006264, allocations: 28.78 kB / 286.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.006268, allocations: 4 kB / 286.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.00628, allocations: 12.84 kB / 286.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.006432, allocations: 19.89 kB / 286.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.006831, allocations: 288.8 kB / 286.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.006864, allocations: 63.34 kB / 286.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.006901, allocations: 8.484 kB / 286.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.006965, allocations: 67.36 kB / 287 MB, free: 1.918 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006966, allocations: 0 / 287 MB, free: 1.918 MB / 266.7 MB Notification: Performance of Templates: time 0.002807/0.009773, allocations: 1.57 MB / 288.6 MB, free: 376 kB / 266.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.7492609159089625]