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.001021/0.001021, allocations: 86.05 kB / 19.87 MB, free: 4.605 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.001163/0.001163, allocations: 165.7 kB / 23.27 MB, free: 1.215 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.01231/0.01231, allocations: 3.212 MB / 263.5 MB, free: 9.734 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.713e-06/1.713e-06, allocations: 0 / 334.2 MB, free: 288 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.09e-05, allocations: 2.312 kB / 334.2 MB, free: 284 kB / 298.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.00198/0.002001, allocations: 1.636 MB / 335.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003125, allocations: 0.8686 MB / 336.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.003175, allocations: 0 / 336.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.003611, allocations: 153.8 kB / 336.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.067e-05/0.003701, allocations: 63.59 kB / 337 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.438e-05/0.003736, allocations: 3.984 kB / 337 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003856, allocations: 147.2 kB / 337.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.003895, allocations: 5.312 kB / 337.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.003988, allocations: 71.81 kB / 337.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.004096, allocations: 63.78 kB / 337.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.004117, allocations: 8 kB / 337.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.004133, allocations: 11.94 kB / 337.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.00416, allocations: 27.86 kB / 337.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.004199, allocations: 39.84 kB / 337.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.004317, allocations: 71.67 kB / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00432, allocations: 0 / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004321, allocations: 0 / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004326, allocations: 4 kB / 337.4 MB, free: 13.09 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.0005952/0.004921, allocations: 499.8 kB / 337.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.004961, allocations: 8.031 kB / 337.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.004998, allocations: 16.84 kB / 337.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005136, allocations: 169.2 kB / 338.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.005146, allocations: 384 / 338.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.005155, allocations: 4.375 kB / 338.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.931e-05/0.005245, allocations: 67.94 kB / 338.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.005251, allocations: 4.188 kB / 338.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005259, allocations: 8.312 kB / 338.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.005265, allocations: 3.938 kB / 338.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.005289, allocations: 7.984 kB / 338.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.005569, allocations: 264.4 kB / 338.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.005733, allocations: 51.09 kB / 338.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.005752, allocations: 19.61 kB / 338.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.005763, allocations: 0 / 338.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.005787, allocations: 45.33 kB / 338.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005789, allocations: 0 / 338.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001279/0.005917, allocations: 65.53 kB / 338.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.005937, allocations: 51.41 kB / 338.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.006087, allocations: 275.7 kB / 338.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.006099, allocations: 25.7 kB / 338.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.006171, allocations: 166.8 kB / 339.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.006181, allocations: 11.84 kB / 339.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.006209, allocations: 23.38 kB / 339.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.006337, allocations: 0.5079 MB / 339.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.00635, allocations: 4 kB / 339.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.006363, allocations: 7.953 kB / 339.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.006395, allocations: 23.8 kB / 339.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006397, allocations: 4 kB / 339.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.818e-05/0.006465, allocations: 61.61 kB / 339.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.006477, allocations: 7.984 kB / 339.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006482, allocations: 3.938 kB / 339.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.006492, allocations: 0 / 339.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.006562, allocations: 15.98 kB / 339.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.006564, allocations: 0 / 339.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.006611, allocations: 3.938 kB / 339.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.006615, allocations: 4 kB / 339.8 MB, free: 10.5 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 7.079e-05/0.006686, allocations: 152.6 kB / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.00671, allocations: 19.91 kB / 340 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.006742, allocations: 24.95 kB / 340 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006744, allocations: 192 / 340 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006746, allocations: 0 / 340 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006749, allocations: 3.984 kB / 340 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.006866, allocations: 129.2 kB / 340.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006867, allocations: 0 / 340.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.006908, allocations: 11.98 kB / 340.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.006911, allocations: 4 kB / 340.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006917, allocations: 3.984 kB / 340.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006918, allocations: 0 / 340.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.00692, allocations: 11.88 kB / 340.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.007039, allocations: 211.8 kB / 340.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.007067, allocations: 23.88 kB / 340.4 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.00708, allocations: 0 / 340.4 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.007146, allocations: 4 kB / 340.4 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.007159, allocations: 7.922 kB / 340.4 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.007162, allocations: 64 / 340.4 MB, free: 9.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.00725, allocations: 196.4 kB / 340.6 MB, free: 9.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00725, allocations: 0 / 340.6 MB, free: 9.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.007394, allocations: 20 kB / 340.6 MB, free: 9.629 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 7.065e-05/0.007464, allocations: 95.25 kB / 340.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.96e-05/0.007534, allocations: 31.66 kB / 340.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007535, allocations: 0 / 340.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.007551, allocations: 23.62 kB / 340.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.007758, allocations: 19.59 kB / 340.8 MB, free: 9.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.008191, allocations: 282.5 kB / 341 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.008229, allocations: 67.2 kB / 341.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.008271, allocations: 8.484 kB / 341.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.008355, allocations: 90.19 kB / 341.2 MB, free: 8.957 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008356, allocations: 0 / 341.2 MB, free: 8.957 MB / 314.7 MB Notification: Performance of Templates: time 0.003119/0.01148, allocations: 1.556 MB / 342.8 MB, free: 7.422 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=240 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9504072880372405]