Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.0008878/0.0008878, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009591/0.0009591, allocations: 169 kB / 23.27 MB, free: 1.223 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.9836/0.9836, 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/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.005109/0.005109, allocations: 0.9697 MB / 261.2 MB, free: 12.05 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/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(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 331.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.475e-05, allocations: 2.312 kB / 331.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.00251/0.002534, allocations: 1.588 MB / 332.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.004132, allocations: 1.222 MB / 334 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.004209, allocations: 4 kB / 334 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.004766, allocations: 151.2 kB / 334.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006475/0.005413, allocations: 274.7 kB / 334.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.183e-06/0.00542, allocations: 0 / 334.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.005559, allocations: 119.4 kB / 334.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.005601, allocations: 9.641 kB / 334.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.005689, allocations: 67.75 kB / 334.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.005843, allocations: 55.8 kB / 334.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.005859, allocations: 4 kB / 334.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.006371, allocations: 367 kB / 335 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.006429, allocations: 31.86 kB / 335.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.006465, allocations: 27.92 kB / 335.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.00691, allocations: 330.8 kB / 335.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006913, allocations: 0 / 335.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006914, allocations: 0 / 335.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.006918, allocations: 4 kB / 335.4 MB, free: 14.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005176/0.007436, allocations: 0.507 MB / 335.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.007486, allocations: 12.03 kB / 335.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.007558, allocations: 24.8 kB / 336 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.007732, allocations: 172.3 kB / 336.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.007742, allocations: 4.375 kB / 336.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.007754, allocations: 8.359 kB / 336.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.007847, allocations: 50.17 kB / 336.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.007855, allocations: 192 / 336.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.007863, allocations: 8.375 kB / 336.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007871, allocations: 7.938 kB / 336.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.289e-05/0.007934, allocations: 39.88 kB / 336.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.008109, allocations: 145.2 kB / 336.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.008195, allocations: 55.31 kB / 336.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.008227, allocations: 27.61 kB / 336.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.579e-05/0.008312, allocations: 43.78 kB / 336.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.00833, allocations: 37.39 kB / 336.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.008333, allocations: 0 / 336.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.001067/0.0094, allocations: 225 kB / 336.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.009416, allocations: 55.41 kB / 336.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.009562, allocations: 265.5 kB / 337.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.009573, allocations: 33.7 kB / 337.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.009621, allocations: 162.8 kB / 337.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.009657, allocations: 35.72 kB / 337.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.009697, allocations: 31.36 kB / 337.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.009768, allocations: 0.504 MB / 337.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.00979, allocations: 15.98 kB / 337.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.009814, allocations: 4 kB / 337.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.009876, allocations: 39.66 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009878, allocations: 0 / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004496/0.01033, allocations: 141.6 kB / 338 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01034, allocations: 7.938 kB / 338 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01035, allocations: 0 / 338 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007321/0.01108, allocations: 107.6 kB / 338.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.01113, allocations: 12 kB / 338.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.0124, allocations: 1.842 MB / 340 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.01245, allocations: 7.938 kB / 340 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.01246, allocations: 4 kB / 340 MB, free: 9.379 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.01253, allocations: 164.6 kB / 340.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.01256, allocations: 19.91 kB / 340.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.01303, allocations: 158.6 kB / 340.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01304, allocations: 0 / 340.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01304, allocations: 0 / 340.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01304, allocations: 7.984 kB / 340.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.01318, allocations: 161 kB / 340.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01318, allocations: 4 kB / 340.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.01322, allocations: 8 kB / 340.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006466/0.01386, allocations: 107.6 kB / 340.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01387, allocations: 0 / 340.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.01495, allocations: 1.826 MB / 342.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01495, allocations: 0 / 342.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.01539, allocations: 183.8 kB / 342.6 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.01541, allocations: 23.83 kB / 342.7 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.01543, allocations: 0 / 342.7 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.01547, allocations: 7.938 kB / 342.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.0155, allocations: 7.984 kB / 342.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.01551, allocations: 7.984 kB / 342.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.01559, allocations: 180.3 kB / 342.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01559, allocations: 0 / 342.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.01599, allocations: 75.81 kB / 342.9 MB, free: 6.258 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.01624, allocations: 174.9 kB / 343.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.01658, allocations: 237.1 kB / 343.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01658, allocations: 0 / 343.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.01678, allocations: 226 kB / 343.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01704, allocations: 20.8 kB / 343.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.01934, allocations: 0.5436 MB / 344.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.01938, allocations: 71.83 kB / 344.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.01944, allocations: 20.97 kB / 344.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.0195, allocations: 82.19 kB / 344.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01951, allocations: 0 / 344.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of Templates: time 0.007275/0.02678, allocations: 3.786 MB / 348.1 MB, free: 1.031 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8114894828759134]