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.0009947/0.0009947, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002301, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001033/0.001033, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002327, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8787/0.8787, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/0.9792, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.03803/0.03803, allocations: 3.196 MB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006017/0.04404, allocations: 1.493 MB / 248.7 MB, free: 10.2 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.513e-06/1.513e-06, allocations: 3.938 kB / 249.9 MB, free: 8.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.785e-05, allocations: 2.312 kB / 249.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001799/0.001817, allocations: 1.683 MB / 251.6 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.002607, allocations: 0.8797 MB / 252.5 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.002645, allocations: 0 / 252.5 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.002917, allocations: 167 kB / 252.6 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.002985, allocations: 59.59 kB / 252.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.898e-05/0.003014, allocations: 7.984 kB / 252.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003126, allocations: 147.2 kB / 252.8 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.003164, allocations: 9.953 kB / 252.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.00329, allocations: 133.6 kB / 253 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.003382, allocations: 51.81 kB / 253 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.003404, allocations: 12 kB / 253 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.003418, allocations: 12 kB / 253.1 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.003434, allocations: 11.94 kB / 253.1 MB, free: 5.766 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.003468, allocations: 27.94 kB / 253.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003569, allocations: 75.61 kB / 253.2 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.003581, allocations: 4 kB / 253.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003582, allocations: 0 / 253.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.003594, allocations: 0 / 253.2 MB, free: 5.66 MB / 250.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.0004858/0.004079, allocations: 383.8 kB / 253.6 MB, free: 5.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.004107, allocations: 12.03 kB / 253.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.004137, allocations: 4.938 kB / 253.6 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.004253, allocations: 154.5 kB / 253.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.004262, allocations: 8.312 kB / 253.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.004269, allocations: 384 / 253.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.004348, allocations: 71.95 kB / 253.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.004354, allocations: 4.188 kB / 253.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004361, allocations: 384 / 253.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004366, allocations: 3.938 kB / 253.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.00439, allocations: 7.984 kB / 253.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.004585, allocations: 156.3 kB / 254 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.004745, allocations: 50.47 kB / 254 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.004761, allocations: 8.859 kB / 254 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.004771, allocations: 0 / 254 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.004792, allocations: 34.62 kB / 254.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.004793, allocations: 4 kB / 254.1 MB, free: 4.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001036/0.004896, allocations: 53.61 kB / 254.1 MB, free: 4.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.004922, allocations: 59.34 kB / 254.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.00504, allocations: 207.4 kB / 254.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005049, allocations: 25.7 kB / 254.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.005087, allocations: 100 kB / 254.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.0051, allocations: 15.83 kB / 254.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.005124, allocations: 17.72 kB / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.005195, allocations: 326.8 kB / 254.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.005205, allocations: 7.984 kB / 254.9 MB, free: 3.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-06/0.005213, allocations: 8 kB / 254.9 MB, free: 3.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.005238, allocations: 16.84 kB / 254.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.00524, allocations: 0 / 254.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.541e-05/0.005285, allocations: 49.62 kB / 254.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.005296, allocations: 8 kB / 254.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.005299, allocations: 0 / 254.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.005306, allocations: 3.938 kB / 254.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.005415, allocations: 28.14 kB / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.005417, allocations: 0 / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.005458, allocations: 4 kB / 255 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.005461, allocations: 0 / 255 MB, free: 3.703 MB / 250.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.369e-05/0.005505, allocations: 113.8 kB / 255.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.005524, allocations: 12.16 kB / 255.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.005546, allocations: 17.03 kB / 255.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005548, allocations: 3.938 kB / 255.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.00555, allocations: 4 kB / 255.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005553, allocations: 3.984 kB / 255.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.062e-05/0.005644, allocations: 89.86 kB / 255.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.005646, allocations: 3.984 kB / 255.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.005717, allocations: 23.91 kB / 255.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.005737, allocations: 15.91 kB / 255.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005738, allocations: 0 / 255.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.005742, allocations: 4 kB / 255.3 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005744, allocations: 3.938 kB / 255.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005744, allocations: 0 / 255.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.974e-05/0.005814, allocations: 143.5 kB / 255.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.005827, allocations: 0 / 255.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.005887, allocations: 7.984 kB / 255.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.005897, allocations: 3.938 kB / 255.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.0059, allocations: 0 / 255.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.313e-05/0.005953, allocations: 77.38 kB / 255.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005953, allocations: 7.938 kB / 255.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000114/0.006067, allocations: 16 kB / 255.5 MB, free: 3.117 MB / 250.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 5.267e-05/0.00612, allocations: 80.34 kB / 255.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.006173, allocations: 20.86 kB / 255.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.00618, allocations: 7.984 kB / 255.6 MB, free: 3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.006191, allocations: 8.859 kB / 255.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.006353, allocations: 31.72 kB / 255.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.007283, allocations: 288.8 kB / 255.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.007318, allocations: 63.34 kB / 256 MB, free: 2.562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.18e-05/0.00736, allocations: 16.48 kB / 256 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.007422, allocations: 67.34 kB / 256.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.007423, allocations: 0 / 256.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of Templates: time 0.002598/0.01002, allocations: 1.593 MB / 257.7 MB, free: 0.8945 MB / 250.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.396974289789796]