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.001468/0.001468, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00172/0.00172, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.081/1.081, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.008117/0.008117, allocations: 0.964 MB / 261.2 MB, free: 12.27 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 2.024e-06/2.024e-06, allocations: 0 / 330.8 MB, free: 19.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.221e-05, allocations: 2.312 kB / 330.8 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001663/0.001686, allocations: 1.584 MB / 332.4 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002819, allocations: 1.242 MB / 333.6 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.002877, allocations: 0 / 333.6 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.003351, allocations: 139.3 kB / 333.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.00371, allocations: 282.7 kB / 334 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.719e-06/0.003715, allocations: 4 kB / 334 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.003809, allocations: 111.4 kB / 334.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.003849, allocations: 5.641 kB / 334.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.003909, allocations: 59.81 kB / 334.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.004024, allocations: 59.8 kB / 334.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.004035, allocations: 4 kB / 334.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.004347, allocations: 367 kB / 334.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.00439, allocations: 35.84 kB / 334.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.00442, allocations: 31.86 kB / 334.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.004703, allocations: 322.8 kB / 335 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004705, allocations: 8 kB / 335 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004705, allocations: 0 / 335 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004709, allocations: 0 / 335 MB, free: 14.9 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.0004339/0.005143, allocations: 0.5033 MB / 335.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005177, allocations: 8.031 kB / 335.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.005224, allocations: 24.8 kB / 335.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005378, allocations: 176.2 kB / 335.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005388, allocations: 4.375 kB / 335.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.0054, allocations: 12.31 kB / 335.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/0.005488, allocations: 54.23 kB / 335.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.005495, allocations: 192 / 335.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005505, allocations: 384 / 335.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.005513, allocations: 3.938 kB / 335.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.353e-05/0.005577, allocations: 59.84 kB / 335.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.005723, allocations: 172.6 kB / 336 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/0.005813, allocations: 67.03 kB / 336.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.005853, allocations: 23.61 kB / 336.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-05/0.005909, allocations: 35.98 kB / 336.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.005923, allocations: 41.61 kB / 336.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.005924, allocations: 4 kB / 336.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008541/0.006778, allocations: 225 kB / 336.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.006796, allocations: 55.39 kB / 336.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.006924, allocations: 269.6 kB / 336.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.006932, allocations: 25.7 kB / 336.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.006973, allocations: 166.9 kB / 336.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.007004, allocations: 31.73 kB / 336.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.007032, allocations: 35.36 kB / 337 MB, free: 12.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.007078, allocations: 0.504 MB / 337.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.007102, allocations: 15.92 kB / 337.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.007125, allocations: 15.98 kB / 337.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.007182, allocations: 43.67 kB / 337.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007184, allocations: 0 / 337.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000326/0.00751, allocations: 153 kB / 337.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.007523, allocations: 14.8 kB / 337.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007527, allocations: 0 / 337.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.008085, allocations: 99.52 kB / 337.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.00813, allocations: 15.98 kB / 337.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009858/0.009116, allocations: 1.865 MB / 339.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.009149, allocations: 3.938 kB / 339.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.009156, allocations: 7.938 kB / 339.7 MB, free: 9.863 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 4.99e-05/0.009206, allocations: 160.6 kB / 339.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.009221, allocations: 23.89 kB / 339.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.009576, allocations: 167.2 kB / 340 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.009577, allocations: 0 / 340 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.00958, allocations: 7.938 kB / 340 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009582, allocations: 7.938 kB / 340 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.651e-05/0.009669, allocations: 180.5 kB / 340.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.00967, allocations: 0 / 340.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.009693, allocations: 8 kB / 340.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.01017, allocations: 107.6 kB / 340.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.01017, allocations: 0 / 340.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007802/0.01095, allocations: 1.872 MB / 342.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01095, allocations: 0 / 342.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01127, allocations: 187.9 kB / 342.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.01128, allocations: 15.84 kB / 342.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.01129, allocations: 4 kB / 342.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.01132, allocations: 0 / 342.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.01134, allocations: 19.91 kB / 342.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.01135, allocations: 4 kB / 342.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.839e-05/0.0114, allocations: 188.3 kB / 342.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0114, allocations: 4 kB / 342.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000204/0.01161, allocations: 79.8 kB / 342.7 MB, free: 6.633 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.0001861/0.01179, allocations: 166.9 kB / 342.9 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.01208, allocations: 245.1 kB / 343.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01208, allocations: 0 / 343.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01221, allocations: 221.8 kB / 343.3 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01238, allocations: 25.39 kB / 343.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.01403, allocations: 0.532 MB / 343.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.01406, allocations: 75.83 kB / 344 MB, free: 5.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.01409, allocations: 17.47 kB / 344 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.01412, allocations: 16.5 kB / 344 MB, free: 5.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01412, allocations: 0 / 344 MB, free: 5.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004606/0.01872, allocations: 3.553 MB / 347.5 MB, free: 1.719 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: 3.019354563904926]