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.001491/0.001491, allocations: 88.72 kB / 19.44 MB, free: 356 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.001613/0.001613, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.03133/0.03133, allocations: 3.203 MB / 262.8 MB, free: 9.91 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.225e-06/2.225e-06, allocations: 0 / 333.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.931e-05/4.154e-05, allocations: 6.312 kB / 333.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002569/0.00261, allocations: 1.563 MB / 334.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.003809, allocations: 0.8271 MB / 335.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.003886, allocations: 3.938 kB / 335.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.004445, allocations: 145.8 kB / 335.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.00455, allocations: 67.53 kB / 335.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.596e-05/0.004596, allocations: 7.984 kB / 335.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.004742, allocations: 143.2 kB / 335.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.004799, allocations: 5.312 kB / 335.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004907, allocations: 75.81 kB / 335.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.005048, allocations: 59.78 kB / 336 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.005075, allocations: 12 kB / 336 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.005098, allocations: 12 kB / 336 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.005128, allocations: 19.86 kB / 336 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.005188, allocations: 43.84 kB / 336 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.005353, allocations: 91.64 kB / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.005357, allocations: 0 / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.005358, allocations: 0 / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.005366, allocations: 3.984 kB / 336.1 MB, free: 12.74 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.0008397/0.006205, allocations: 389.5 kB / 336.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.006265, allocations: 8.031 kB / 336.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.006338, allocations: 12.89 kB / 336.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.006559, allocations: 190.3 kB / 336.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.006578, allocations: 4.375 kB / 336.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.006594, allocations: 8.312 kB / 336.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.006727, allocations: 71.94 kB / 336.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.006737, allocations: 4.188 kB / 336.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.00675, allocations: 384 / 336.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.006757, allocations: 3.938 kB / 336.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.488e-05/0.006822, allocations: 27.98 kB / 336.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.007246, allocations: 236.6 kB / 337.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.007555, allocations: 54.55 kB / 337.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.00759, allocations: 16.84 kB / 337.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.007605, allocations: 4 kB / 337.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.007626, allocations: 34.5 kB / 337.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.007627, allocations: 4 kB / 337.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002277/0.007855, allocations: 73.59 kB / 337.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.007886, allocations: 59.34 kB / 337.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.008109, allocations: 236.8 kB / 337.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.008128, allocations: 25.7 kB / 337.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.008192, allocations: 112.1 kB / 337.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.008206, allocations: 19.84 kB / 337.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.008239, allocations: 17.72 kB / 337.7 MB, free: 11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.008317, allocations: 322.8 kB / 338 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.008345, allocations: 11.98 kB / 338 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.008363, allocations: 8 kB / 338.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.008411, allocations: 32.86 kB / 338.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008413, allocations: 0 / 338.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.466e-05/0.008508, allocations: 77.53 kB / 338.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.008525, allocations: 7.938 kB / 338.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008531, allocations: 0 / 338.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.008555, allocations: 0 / 338.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.008671, allocations: 15.98 kB / 338.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.008678, allocations: 3.984 kB / 338.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.00879, allocations: 4 kB / 338.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.008797, allocations: 0 / 338.2 MB, free: 10.5 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 7.776e-05/0.008874, allocations: 117.8 kB / 338.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.008913, allocations: 19.84 kB / 338.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.008953, allocations: 21.02 kB / 338.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008955, allocations: 0 / 338.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.008961, allocations: 0 / 338.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008965, allocations: 0 / 338.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.009125, allocations: 141.3 kB / 338.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009126, allocations: 192 / 338.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.009222, allocations: 15.98 kB / 338.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.009223, allocations: 4 kB / 338.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.009234, allocations: 3.938 kB / 338.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.009235, allocations: 4 kB / 338.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009236, allocations: 0 / 338.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.009368, allocations: 167.4 kB / 338.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.009404, allocations: 19.89 kB / 338.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.009432, allocations: 3.938 kB / 338.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.00959, allocations: 8.234 kB / 338.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.009616, allocations: 3.984 kB / 338.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.009623, allocations: 7.938 kB / 338.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.009756, allocations: 176.5 kB / 338.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009756, allocations: 0 / 338.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.009994, allocations: 24 kB / 338.9 MB, free: 9.723 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.478e-05/0.01009, allocations: 95.23 kB / 339 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01021, allocations: 31.92 kB / 339 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.01021, allocations: 4 kB / 339 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.01023, allocations: 8 kB / 339.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.01067, allocations: 19.84 kB / 339.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.01139, allocations: 280.9 kB / 339.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.01146, allocations: 93.3 kB / 339.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.01152, allocations: 8.5 kB / 339.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.01158, allocations: 16.48 kB / 339.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01158, allocations: 0 / 339.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of Templates: time 0.004356/0.01594, allocations: 1.486 MB / 340.9 MB, free: 7.66 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=480 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.167939063976519]