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.001416/0.001416, allocations: 92.22 kB / 19.65 MB, free: 276 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.001461/0.001461, allocations: 169 kB / 23.02 MB, free: 1.551 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.01446/0.01446, allocations: 3.203 MB / 263.1 MB, free: 9.875 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 2.184e-06/2.184e-06, allocations: 0 / 333.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.183e-05, allocations: 2.312 kB / 333.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002624/0.002655, allocations: 1.645 MB / 335.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.00403, allocations: 0.8739 MB / 336.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.004096, allocations: 0 / 336.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.004613, allocations: 141.8 kB / 336.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.004717, allocations: 63.61 kB / 336.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.705e-05/0.004764, allocations: 3.984 kB / 336.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.004911, allocations: 155.2 kB / 336.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.004963, allocations: 5.312 kB / 336.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.00508, allocations: 75.81 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005209, allocations: 51.81 kB / 336.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.005235, allocations: 8 kB / 336.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.005255, allocations: 12 kB / 336.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.005283, allocations: 23.84 kB / 336.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.00533, allocations: 47.83 kB / 336.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.005477, allocations: 71.67 kB / 337 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.005481, allocations: 4 kB / 337 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.005483, allocations: 0 / 337 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.005489, allocations: 0 / 337 MB, free: 12.3 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.0006827/0.006172, allocations: 495.8 kB / 337.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.006223, allocations: 8.031 kB / 337.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.006301, allocations: 16.84 kB / 337.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.006502, allocations: 177.2 kB / 337.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.006517, allocations: 4.375 kB / 337.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.006534, allocations: 384 / 337.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.006654, allocations: 71.94 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.006671, allocations: 192 / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.006685, allocations: 384 / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.006695, allocations: 7.875 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.00674, allocations: 19.98 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.007161, allocations: 307.7 kB / 338 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.007427, allocations: 51.09 kB / 338.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.00746, allocations: 15.69 kB / 338.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.007479, allocations: 0 / 338.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.007502, allocations: 41.31 kB / 338.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.007504, allocations: 0 / 338.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001962/0.0077, allocations: 69.53 kB / 338.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.00772, allocations: 51.41 kB / 338.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.007901, allocations: 283.8 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.00791, allocations: 25.7 kB / 338.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.007968, allocations: 170.8 kB / 338.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.007979, allocations: 15.84 kB / 338.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.008016, allocations: 23.36 kB / 338.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.008079, allocations: 0.504 MB / 339.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.008098, allocations: 0 / 339.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.008115, allocations: 8 kB / 339.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.008161, allocations: 23.67 kB / 339.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008163, allocations: 0 / 339.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.774e-05/0.008261, allocations: 73.66 kB / 339.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.008275, allocations: 15.94 kB / 339.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00828, allocations: 0 / 339.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.008297, allocations: 0 / 339.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.008392, allocations: 15.98 kB / 339.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.008398, allocations: 0 / 339.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.008467, allocations: 0 / 339.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.008473, allocations: 0 / 339.4 MB, free: 9.629 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.538e-05/0.008529, allocations: 160.6 kB / 339.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.008571, allocations: 19.84 kB / 339.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.008609, allocations: 17.02 kB / 339.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008612, allocations: 4 kB / 339.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.008615, allocations: 0 / 339.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.008618, allocations: 0 / 339.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.008767, allocations: 156.6 kB / 339.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008769, allocations: 0 / 339.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.008837, allocations: 23.86 kB / 339.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.00884, allocations: 0 / 339.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.00885, allocations: 11.92 kB / 339.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008852, allocations: 0 / 339.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008853, allocations: 0 / 339.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.008992, allocations: 203.9 kB / 340 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.009027, allocations: 23.89 kB / 340 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.009051, allocations: 7.938 kB / 340 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.009157, allocations: 240 / 340 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.009177, allocations: 3.984 kB / 340 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.009184, allocations: 4 kB / 340 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.009296, allocations: 204.4 kB / 340.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009296, allocations: 0 / 340.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.00962, allocations: 20 kB / 340.3 MB, free: 8.715 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 9.365e-05/0.009714, allocations: 99.17 kB / 340.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.009819, allocations: 39.66 kB / 340.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.009821, allocations: 0 / 340.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.009837, allocations: 15.69 kB / 340.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.01011, allocations: 16.17 kB / 340.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.01062, allocations: 286.4 kB / 340.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.01065, allocations: 63.33 kB / 340.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.114e-05/0.01069, allocations: 8.5 kB / 340.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.01073, allocations: 16.48 kB / 340.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01073, allocations: 0 / 340.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of Templates: time 0.003115/0.01385, allocations: 1.493 MB / 342.3 MB, free: 6.645 MB / 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.9921921719796956]