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.001419/0.001419, allocations: 72.45 kB / 19.89 MB, free: 164 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.00158/0.00158, allocations: 166 kB / 23.17 MB, free: 1.531 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.58/1.58, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.03031/0.03031, allocations: 3.2 MB / 263.2 MB, free: 10.11 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: MagLev requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 63.91 kB / 387.7 MB, free: 9.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3855, allocations: 54.42 MB / 442.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003285/0.3888, allocations: 1.566 MB / 443.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3903, allocations: 0.8144 MB / 444.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.3904, allocations: 1.094 kB / 444.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.391, allocations: 142.7 kB / 444.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3911, allocations: 66.16 kB / 444.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.833e-05/0.3911, allocations: 5.328 kB / 444.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3913, allocations: 140.7 kB / 444.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.3914, allocations: 8.516 kB / 444.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3915, allocations: 81.75 kB / 445 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3917, allocations: 69.42 kB / 445 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.3917, allocations: 8.594 kB / 445 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.3918, allocations: 13.78 kB / 445.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.3918, allocations: 25.05 kB / 445.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.3919, allocations: 47.3 kB / 445.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3921, allocations: 106.4 kB / 445.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.3921, allocations: 3.984 kB / 445.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3921, allocations: 0 / 445.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3921, allocations: 1.469 kB / 445.2 MB, free: 12.24 MB / 346.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.001108/0.3932, allocations: 386.9 kB / 445.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3933, allocations: 13.56 kB / 445.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.3933, allocations: 15.59 kB / 445.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.3936, allocations: 186.5 kB / 445.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3936, allocations: 4.375 kB / 445.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3936, allocations: 384 / 445.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3938, allocations: 71.7 kB / 445.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3938, allocations: 0 / 445.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3938, allocations: 8 kB / 445.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3938, allocations: 3.984 kB / 445.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.3939, allocations: 23.92 kB / 445.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.3944, allocations: 236.6 kB / 446.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.3947, allocations: 54.55 kB / 446.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.3947, allocations: 20.84 kB / 446.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3947, allocations: 0 / 446.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3948, allocations: 30.56 kB / 446.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3948, allocations: 0 / 446.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002338/0.395, allocations: 85.53 kB / 446.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.3951, allocations: 51.41 kB / 446.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.3954, allocations: 231.9 kB / 446.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3954, allocations: 25.7 kB / 446.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3955, allocations: 124 kB / 446.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.3955, allocations: 7.906 kB / 446.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.3956, allocations: 17.72 kB / 446.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3958, allocations: 322.8 kB / 447.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.3958, allocations: 11.98 kB / 447.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.3958, allocations: 12 kB / 447.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.3959, allocations: 28.8 kB / 447.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3959, allocations: 7.938 kB / 447.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.396, allocations: 81.72 kB / 447.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.396, allocations: 4 kB / 447.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.396, allocations: 0 / 447.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3961, allocations: 4 kB / 447.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3962, allocations: 15.97 kB / 447.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3962, allocations: 0 / 447.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3963, allocations: 4 kB / 447.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3963, allocations: 0 / 447.3 MB, free: 10.09 MB / 346.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 0.0001147/0.3964, allocations: 117.8 kB / 447.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.3965, allocations: 19.91 kB / 447.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.3965, allocations: 20.95 kB / 447.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3965, allocations: 0 / 447.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3965, allocations: 0 / 447.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3965, allocations: 0 / 447.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.3967, allocations: 145.2 kB / 447.6 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3967, allocations: 3.938 kB / 447.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3969, allocations: 11.98 kB / 447.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3969, allocations: 0 / 447.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3969, allocations: 4 kB / 447.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3969, allocations: 0 / 447.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3969, allocations: 4 kB / 447.6 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.3971, allocations: 163.4 kB / 447.8 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.3971, allocations: 27.77 kB / 447.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.3971, allocations: 0 / 447.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3973, allocations: 8 kB / 447.8 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3973, allocations: 3.984 kB / 447.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3974, allocations: 3.938 kB / 447.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.3976, allocations: 181.5 kB / 448 MB, free: 9.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3976, allocations: 0 / 448 MB, free: 9.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000238/0.3978, allocations: 20 kB / 448 MB, free: 9.309 MB / 346.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 0.0001177/0.3979, allocations: 95.25 kB / 448.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3981, allocations: 23.98 kB / 448.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.3981, allocations: 4 kB / 448.1 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.3981, allocations: 16.16 kB / 448.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3985, allocations: 23.45 kB / 448.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.3993, allocations: 313.3 kB / 448.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.784e-05/0.3994, allocations: 89.31 kB / 448.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.3995, allocations: 12.48 kB / 448.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.3996, allocations: 20.42 kB / 448.6 MB, free: 8.668 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3996, allocations: 0 / 448.6 MB, free: 8.668 MB / 346.7 MB Notification: Performance of Templates: time 0.004653/0.4042, allocations: 1.49 MB / 450.1 MB, free: 7.191 MB / 346.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.936092221993022] Failed to read output from testmodel.py, exit status != 0: 0.41471513599390164 0.42977241600000005 0.034106219 Calling exit ...