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.0009738/0.0009738, allocations: 97.06 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.001002/0.001002, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9669/0.9669, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.04112/0.04112, allocations: 3.205 MB / 263.1 MB, free: 9.895 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.663e-06/1.663e-06, allocations: 0 / 333.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.732e-05, allocations: 4.422 kB / 333.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001752/0.001779, allocations: 1.634 MB / 335.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.002704, allocations: 0.8739 MB / 336.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.002755, allocations: 0 / 336.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.003179, allocations: 145.8 kB / 336.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.003261, allocations: 63.59 kB / 336.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.497e-05/0.003296, allocations: 11.98 kB / 336.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.003403, allocations: 147.2 kB / 336.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.003444, allocations: 5.312 kB / 336.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.003525, allocations: 67.81 kB / 336.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.003627, allocations: 67.78 kB / 336.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.003652, allocations: 8 kB / 336.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.003668, allocations: 8 kB / 336.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.003692, allocations: 23.86 kB / 336.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.003727, allocations: 35.84 kB / 336.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.003843, allocations: 71.67 kB / 336.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.003846, allocations: 0 / 336.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003848, allocations: 4 kB / 337 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.003852, 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.0005172/0.004369, allocations: 495.8 kB / 337.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.004411, allocations: 12.03 kB / 337.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.004466, allocations: 20.84 kB / 337.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.004602, allocations: 181.2 kB / 337.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004613, allocations: 4.359 kB / 337.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.004624, allocations: 384 / 337.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.465e-05/0.004708, allocations: 71.94 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.004715, allocations: 192 / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004724, allocations: 384 / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.004731, allocations: 3.938 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.004762, allocations: 15.98 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.005071, allocations: 303.7 kB / 338 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.005284, allocations: 59.09 kB / 338.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.00531, allocations: 15.67 kB / 338.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.005322, allocations: 0 / 338.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.005344, allocations: 41.33 kB / 338.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005345, allocations: 0 / 338.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001559/0.005501, allocations: 65.53 kB / 338.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.00552, allocations: 51.41 kB / 338.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.005657, allocations: 283.8 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.005665, allocations: 25.7 kB / 338.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.005719, allocations: 166.8 kB / 338.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.005728, allocations: 19.84 kB / 338.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.005755, allocations: 23.36 kB / 338.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.005807, allocations: 0.5001 MB / 339.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.005823, allocations: 8 kB / 339.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.00584, allocations: 4 kB / 339.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.00588, allocations: 23.67 kB / 339.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005882, allocations: 0 / 339.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.455e-05/0.005957, allocations: 73.53 kB / 339.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005969, allocations: 7.938 kB / 339.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.005974, allocations: 192 / 339.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005986, allocations: 4 kB / 339.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.006056, allocations: 19.98 kB / 339.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.006062, allocations: 0 / 339.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.006112, allocations: 0 / 339.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.006117, allocations: 4 kB / 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 4.654e-05/0.006163, allocations: 156.6 kB / 339.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.006186, allocations: 23.84 kB / 339.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.006212, allocations: 13.03 kB / 339.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.006215, allocations: 0 / 339.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006219, allocations: 0 / 339.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006221, allocations: 4 kB / 339.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.57e-05/0.006316, allocations: 156.6 kB / 339.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006318, allocations: 0 / 339.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.006366, allocations: 23.91 kB / 339.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006367, allocations: 0 / 339.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.006376, allocations: 11.88 kB / 339.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006377, allocations: 0 / 339.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006378, allocations: 0 / 339.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.006476, allocations: 208.1 kB / 340 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.0065, allocations: 19.89 kB / 340 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.006517, allocations: 3.984 kB / 340 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.006587, allocations: 11.97 kB / 340 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.006607, allocations: 4 kB / 340 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.006611, allocations: 0 / 340 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.006689, allocations: 204.4 kB / 340.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006689, allocations: 4 kB / 340.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.006842, allocations: 20 kB / 340.3 MB, free: 8.711 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.957e-05/0.006912, allocations: 99.17 kB / 340.4 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.428e-05/0.007006, allocations: 23.67 kB / 340.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.007009, allocations: 0 / 340.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.007023, allocations: 19.69 kB / 340.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.007262, allocations: 19.98 kB / 340.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.007725, allocations: 286.4 kB / 340.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.007798, allocations: 71.33 kB / 340.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.007843, allocations: 4.5 kB / 340.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.007884, allocations: 16.48 kB / 340.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.007885, allocations: 0 / 340.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of Templates: time 0.003413/0.0113, allocations: 1.557 MB / 342.3 MB, free: 6.582 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.716233376879245]