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.001858/0.001858, allocations: 89.48 kB / 19.44 MB, free: 336 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.001926/0.001926, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.785/1.785, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.0453/0.0453, allocations: 3.201 MB / 262.8 MB, free: 9.926 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.963e-06/1.963e-06, allocations: 0 / 333.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.257e-05, allocations: 2.312 kB / 333.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002275/0.002307, allocations: 1.617 MB / 334.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.003342, allocations: 0.8583 MB / 335.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.00341, allocations: 0 / 335.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.003904, allocations: 149.7 kB / 335.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.003993, allocations: 63.55 kB / 335.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.972e-05/0.004032, allocations: 11.98 kB / 335.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.004166, allocations: 147.2 kB / 335.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.004213, allocations: 9.297 kB / 335.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.004315, allocations: 75.81 kB / 336 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.004437, allocations: 51.81 kB / 336 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.004465, allocations: 8 kB / 336.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.812e-05/0.004493, allocations: 12 kB / 336.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.004523, allocations: 23.84 kB / 336.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.004576, allocations: 47.83 kB / 336.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004711, allocations: 91.64 kB / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.004715, allocations: 0 / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004715, allocations: 4 kB / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.00472, allocations: 0 / 336.2 MB, free: 12.67 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.000797/0.005517, allocations: 491.4 kB / 336.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.005564, allocations: 12.03 kB / 336.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.005626, allocations: 16.89 kB / 336.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.005826, allocations: 193.2 kB / 336.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00584, allocations: 4.375 kB / 336.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.005853, allocations: 8.312 kB / 336.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005979, allocations: 67.95 kB / 337 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.005991, allocations: 192 / 337 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.006004, allocations: 4.375 kB / 337 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006009, allocations: 3.938 kB / 337 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.006074, allocations: 19.98 kB / 337 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.00646, allocations: 303.8 kB / 337.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.00676, allocations: 67.03 kB / 337.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.006793, allocations: 19.69 kB / 337.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.006808, allocations: 0 / 337.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.006825, allocations: 41.33 kB / 337.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.006826, allocations: 3.938 kB / 337.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002273/0.007053, allocations: 73.58 kB / 337.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.007077, allocations: 55.41 kB / 337.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.007283, allocations: 303.8 kB / 337.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.007292, allocations: 25.7 kB / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.007357, allocations: 174.8 kB / 338.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.007369, allocations: 15.84 kB / 338.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.007403, allocations: 19.38 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.007496, allocations: 0.5001 MB / 338.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.007522, allocations: 12 kB / 338.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.00754, allocations: 8 kB / 338.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.00759, allocations: 35.67 kB / 338.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007592, allocations: 0 / 338.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.129e-05/0.007683, allocations: 65.61 kB / 338.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.007697, allocations: 15.88 kB / 338.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.007704, allocations: 3.984 kB / 338.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.007721, allocations: 4 kB / 338.8 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.007849, allocations: 11.98 kB / 338.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.007855, allocations: 4 kB / 338.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.007964, allocations: 0 / 338.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.00797, allocations: 0 / 338.8 MB, free: 9.914 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 6.19e-05/0.008032, allocations: 160.6 kB / 338.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.008069, allocations: 20.03 kB / 338.9 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.008108, allocations: 21.02 kB / 339 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.008109, allocations: 0 / 339 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.008113, allocations: 8 kB / 339 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008117, allocations: 4 kB / 339 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.008255, allocations: 156.6 kB / 339.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008256, allocations: 192 / 339.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.008353, allocations: 11.98 kB / 339.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008355, allocations: 0 / 339.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.008367, allocations: 15.91 kB / 339.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008368, allocations: 0 / 339.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008369, allocations: 4 kB / 339.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008505, allocations: 215.8 kB / 339.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.008543, allocations: 19.89 kB / 339.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.008571, allocations: 7.875 kB / 339.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.008722, allocations: 8 kB / 339.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.008749, allocations: 3.984 kB / 339.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.008754, allocations: 0 / 339.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.008895, allocations: 228.4 kB / 339.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008895, allocations: 0 / 339.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.009117, allocations: 16 kB / 339.6 MB, free: 8.961 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 7.49e-05/0.009192, allocations: 91.25 kB / 339.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.00931, allocations: 47.59 kB / 339.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009312, allocations: 0 / 339.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.009339, allocations: 23.69 kB / 339.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.00966, allocations: 19.84 kB / 339.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.01036, allocations: 290.5 kB / 340.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.01041, allocations: 89.31 kB / 340.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.01047, allocations: 12.48 kB / 340.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.01052, allocations: 16.48 kB / 340.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01052, allocations: 0 / 340.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of Templates: time 0.004231/0.01475, allocations: 1.495 MB / 341.7 MB, free: 6.844 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=240 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.921716836979613]