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.0007431/0.0007431, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008678/0.0008678, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8354/0.8354, allocations: 177.2 MB / 203.5 MB, free: 5.738 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.01133/0.01133, allocations: 3.193 MB / 263.1 MB, free: 10.09 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.332e-06/1.332e-06, allocations: 0 / 387.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.764e-05, allocations: 2.281 kB / 387.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001696/0.001713, allocations: 1.563 MB / 389.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002721, allocations: 0.8369 MB / 390 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.002781, allocations: 0 / 390 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.003246, allocations: 153.3 kB / 390.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.003345, allocations: 59.61 kB / 390.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.813e-05/0.003383, allocations: 3.984 kB / 390.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.003539, allocations: 159.2 kB / 390.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.003582, allocations: 9.297 kB / 390.4 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.003678, allocations: 71.81 kB / 390.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.003773, allocations: 51.81 kB / 390.5 MB, free: 6.809 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.003796, allocations: 12 kB / 390.5 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.00381, allocations: 12 kB / 390.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.003833, allocations: 23.84 kB / 390.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.00387, allocations: 47.77 kB / 390.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003978, allocations: 91.64 kB / 390.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003979, allocations: 0 / 390.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.00398, allocations: 0 / 390.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.003984, allocations: 4 kB / 390.7 MB, free: 6.621 MB / 314.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.000561/0.004545, allocations: 389.5 kB / 391.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.004578, allocations: 8.031 kB / 391.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.004615, allocations: 16.84 kB / 391.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.004782, allocations: 186.4 kB / 391.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.004792, allocations: 384 / 391.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.004801, allocations: 384 / 391.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.004892, allocations: 71.95 kB / 391.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004898, allocations: 4.125 kB / 391.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.004909, allocations: 12.36 kB / 391.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.004914, allocations: 3.938 kB / 391.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.004954, allocations: 16 kB / 391.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.005281, allocations: 236.6 kB / 391.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.005488, allocations: 54.61 kB / 391.7 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.005518, allocations: 12.86 kB / 391.7 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.005528, allocations: 0 / 391.7 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.005551, allocations: 54.36 kB / 391.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005552, allocations: 0 / 391.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.005708, allocations: 77.59 kB / 391.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.005736, allocations: 51.41 kB / 391.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.005896, allocations: 227.9 kB / 392.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.005905, allocations: 25.7 kB / 392.1 MB, free: 5.047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.005961, allocations: 120.1 kB / 392.3 MB, free: 4.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.00597, allocations: 11.84 kB / 392.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.005995, allocations: 21.7 kB / 392.3 MB, free: 4.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.006063, allocations: 322.8 kB / 392.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.006081, allocations: 12 kB / 392.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.006099, allocations: 15.92 kB / 392.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.006138, allocations: 28.86 kB / 392.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00614, allocations: 0 / 392.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.254e-05/0.006212, allocations: 73.59 kB / 392.7 MB, free: 4.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.006225, allocations: 11.94 kB / 392.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.006228, allocations: 0 / 392.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.006238, allocations: 0 / 392.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.006297, allocations: 11.98 kB / 392.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006302, allocations: 0 / 392.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.006349, allocations: 4 kB / 392.8 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-06/0.006353, allocations: 0 / 392.8 MB, free: 4.398 MB / 314.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.458e-05/0.006408, allocations: 125.7 kB / 392.9 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.006431, allocations: 23.84 kB / 392.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.006451, allocations: 13.22 kB / 392.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006453, allocations: 3.984 kB / 392.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.006457, allocations: 0 / 392.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.00646, allocations: 3.984 kB / 392.9 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006565, allocations: 137.3 kB / 393.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006567, allocations: 3.984 kB / 393.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.006607, allocations: 15.98 kB / 393.1 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006608, allocations: 0 / 393.1 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.006615, allocations: 4.125 kB / 393.1 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.006617, allocations: 11.98 kB / 393.1 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006618, allocations: 0 / 393.1 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.789e-05/0.006716, allocations: 167.4 kB / 393.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.00674, allocations: 19.84 kB / 393.3 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.006757, allocations: 7.922 kB / 393.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.006826, allocations: 4 kB / 393.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.006839, allocations: 0 / 393.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.006844, allocations: 8 kB / 393.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.006946, allocations: 177.5 kB / 393.5 MB, free: 3.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006946, allocations: 0 / 393.5 MB, free: 3.633 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000147/0.007093, allocations: 16 kB / 393.5 MB, free: 3.617 MB / 314.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.697e-05/0.00715, allocations: 99.25 kB / 393.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.007233, allocations: 27.97 kB / 393.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007234, allocations: 0 / 393.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.007251, allocations: 19.94 kB / 393.6 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.007462, allocations: 15.77 kB / 393.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.007906, allocations: 307.2 kB / 393.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.007956, allocations: 89.31 kB / 394 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.007998, allocations: 16.48 kB / 394 MB, free: 2.992 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007998, allocations: 0 / 394 MB, free: 2.992 MB / 314.7 MB Notification: Performance of Templates: time 0.001784/0.009783, allocations: 1.44 MB / 395.5 MB, free: 1.551 MB / 314.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: 3.942648569121957] Failed to read output from testmodel.py, exit status != 0: 0.014192922040820122 0.021546577 0.016047509 Calling exit ...