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.0006569/0.0006569, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000842/0.001499, allocations: 440 kB / 10.41 MB, free: 284 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.0006905/0.0006905, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009337/0.001624, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9027/0.9027, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08277/0.9855, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.02076/0.02076, allocations: 3.189 MB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003/0.02376, allocations: 1.513 MB / 248.8 MB, free: 10.08 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.483e-06/1.483e-06, allocations: 0 / 250.1 MB, free: 8.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.22e-05, allocations: 2.312 kB / 250.1 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002028/0.002051, allocations: 1.703 MB / 251.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.003046, allocations: 0.8836 MB / 252.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.0031, allocations: 0 / 252.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.003428, allocations: 159 kB / 252.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.003505, allocations: 63.59 kB / 252.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.387e-05/0.003539, allocations: 7.984 kB / 252.9 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003664, allocations: 147.3 kB / 253.1 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.003709, allocations: 9.953 kB / 253.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.00387, allocations: 129.6 kB / 253.2 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.003993, allocations: 59.86 kB / 253.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.004019, allocations: 8 kB / 253.3 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.004036, allocations: 8 kB / 253.3 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.004065, allocations: 19.88 kB / 253.3 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.004102, allocations: 27.94 kB / 253.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004239, allocations: 67.67 kB / 253.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.004253, allocations: 0 / 253.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.004254, allocations: 0 / 253.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.004265, allocations: 7.938 kB / 253.4 MB, free: 5.512 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.0005603/0.004825, allocations: 375.8 kB / 253.8 MB, free: 5.121 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.004857, allocations: 8.031 kB / 253.8 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.0049, allocations: 12.92 kB / 253.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.005036, allocations: 162.4 kB / 253.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005047, allocations: 384 / 253.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.00506, allocations: 4.375 kB / 253.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.684e-05/0.005147, allocations: 63.95 kB / 254 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005153, allocations: 192 / 254 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.005159, allocations: 384 / 254 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.005166, allocations: 7.938 kB / 254 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.005189, allocations: 7.984 kB / 254 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.005422, allocations: 160.3 kB / 254.2 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.005605, allocations: 46.48 kB / 254.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.005622, allocations: 12.92 kB / 254.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.005634, allocations: 0 / 254.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.005658, allocations: 34.56 kB / 254.3 MB, free: 4.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005659, allocations: 0 / 254.3 MB, free: 4.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000127/0.005786, allocations: 57.55 kB / 254.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.005812, allocations: 51.41 kB / 254.4 MB, free: 4.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.005942, allocations: 203.5 kB / 254.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.005954, allocations: 25.7 kB / 254.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.006012, allocations: 104.1 kB / 254.7 MB, free: 4.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.006022, allocations: 15.84 kB / 254.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.006048, allocations: 21.72 kB / 254.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.00613, allocations: 326.8 kB / 255.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.006141, allocations: 0 / 255.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.006153, allocations: 7.984 kB / 255.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.006183, allocations: 16.86 kB / 255.1 MB, free: 3.668 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006185, allocations: 0 / 255.1 MB, free: 3.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.6e-05/0.006251, allocations: 61.73 kB / 255.1 MB, free: 3.602 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006264, allocations: 4 kB / 255.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006269, allocations: 0 / 255.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.006282, allocations: 8.125 kB / 255.1 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.006423, allocations: 23.97 kB / 255.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.006426, allocations: 0 / 255.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.006474, allocations: 11.92 kB / 255.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.006478, allocations: 0 / 255.2 MB, free: 3.555 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 6.256e-05/0.00654, allocations: 109.8 kB / 255.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.006563, allocations: 19.97 kB / 255.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.006592, allocations: 13.03 kB / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.006595, allocations: 3.938 kB / 255.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.006597, allocations: 0 / 255.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006601, allocations: 0 / 255.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.006715, allocations: 93.86 kB / 255.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.006716, allocations: 0 / 255.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.006817, allocations: 27.89 kB / 255.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.006842, allocations: 15.89 kB / 255.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.006844, allocations: 0 / 255.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.00685, allocations: 4 kB / 255.5 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006852, allocations: 3.938 kB / 255.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006854, allocations: 4 kB / 255.5 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.006966, allocations: 139.5 kB / 255.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.00698, allocations: 0 / 255.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.00705, allocations: 8 kB / 255.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.007065, allocations: 7.922 kB / 255.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.007069, allocations: 0 / 255.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.935e-05/0.007128, allocations: 73.33 kB / 255.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007128, allocations: 0 / 255.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001246/0.007253, allocations: 20 kB / 255.7 MB, free: 2.973 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 8.108e-05/0.007334, allocations: 76.42 kB / 255.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.452e-05/0.007399, allocations: 24.83 kB / 255.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.007408, allocations: 4 kB / 255.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.007436, allocations: 20.78 kB / 255.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.007676, allocations: 107.4 kB / 255.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.008724, allocations: 280.8 kB / 256.2 MB, free: 2.414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.13e-05/0.008765, allocations: 63.94 kB / 256.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.00881, allocations: 8.484 kB / 256.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.008896, allocations: 67.36 kB / 256.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008897, allocations: 0 / 256.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of Templates: time 0.003062/0.01196, allocations: 1.453 MB / 257.8 MB, free: 0.8359 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.213267909362912]