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.0007669/0.0007669, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001912, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007013/0.0007013, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009284/0.00163, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9827/0.9827, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09761/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006792/0.006792, allocations: 0.9619 MB / 245.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002435/0.009227, allocations: 0.7014 MB / 245.8 MB, free: 13.22 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-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.705e-06/2.705e-06, allocations: 3.938 kB / 247.1 MB, free: 11.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.495e-05, allocations: 2.312 kB / 247.1 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003434/0.003469, allocations: 1.637 MB / 248.7 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.005389, allocations: 1.253 MB / 250 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.00549, allocations: 0 / 250 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.006034, allocations: 143.3 kB / 250.1 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.006862, allocations: 270.6 kB / 250.4 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.737e-06/0.006871, allocations: 0 / 250.4 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.007067, allocations: 111.4 kB / 250.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.00713, allocations: 10.3 kB / 250.5 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.007276, allocations: 87.67 kB / 250.6 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.007451, allocations: 59.8 kB / 250.6 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.007468, allocations: 4 kB / 250.6 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.008221, allocations: 375 kB / 251 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.008298, allocations: 31.91 kB / 251 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.008346, allocations: 27.88 kB / 251.1 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.008893, allocations: 267.1 kB / 251.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.008904, allocations: 0 / 251.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008905, allocations: 0 / 251.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.00892, allocations: 4 kB / 251.3 MB, free: 7.656 MB / 250.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.0006231/0.009543, allocations: 423.2 kB / 251.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.009584, allocations: 15.98 kB / 251.8 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.009633, allocations: 4.938 kB / 251.8 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.009861, allocations: 181.2 kB / 251.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.009872, allocations: 384 / 251.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.009888, allocations: 4.375 kB / 251.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.01, allocations: 53.05 kB / 252 MB, free: 6.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.01001, allocations: 4.125 kB / 252 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.01002, allocations: 4.375 kB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.01003, allocations: 11.94 kB / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.01009, allocations: 31.95 kB / 252 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.01025, allocations: 98.58 kB / 252.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.01035, allocations: 49.38 kB / 252.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.01038, allocations: 16.84 kB / 252.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.374e-05/0.01047, allocations: 35.98 kB / 252.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.0105, allocations: 34.55 kB / 252.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.0105, allocations: 0 / 252.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009698/0.01147, allocations: 198.5 kB / 252.5 MB, free: 6.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.0115, allocations: 55.34 kB / 252.5 MB, free: 6.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.01165, allocations: 190.3 kB / 252.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.01166, allocations: 25.7 kB / 252.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.01171, allocations: 100.1 kB / 252.8 MB, free: 6.012 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.01175, allocations: 27.75 kB / 252.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.01179, allocations: 29.69 kB / 252.9 MB, free: 5.949 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.01189, allocations: 326.8 kB / 253.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.01191, allocations: 14.81 kB / 253.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.01193, allocations: 8.375 kB / 253.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.01199, allocations: 39.72 kB / 253.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01199, allocations: 0 / 253.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003865/0.01238, allocations: 114.4 kB / 253.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.0124, allocations: 7.938 kB / 253.4 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.01241, allocations: 11.92 kB / 253.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/0.01306, allocations: 92.75 kB / 253.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.01312, allocations: 15.98 kB / 253.5 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.01448, allocations: 1.271 MB / 254.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.01454, allocations: 15.83 kB / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.01455, allocations: 0 / 254.8 MB, free: 3.934 MB / 250.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 8.415e-05/0.01463, allocations: 120.7 kB / 254.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.01465, allocations: 11.98 kB / 254.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.01509, allocations: 139.8 kB / 255.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.0151, allocations: 4 kB / 255.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.0151, allocations: 0 / 255.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.0151, allocations: 0 / 255.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.01523, allocations: 113.8 kB / 255.2 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01523, allocations: 4 kB / 255.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.01528, allocations: 19.98 kB / 255.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.0153, allocations: 15.84 kB / 255.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005898/0.01589, allocations: 104.7 kB / 255.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.0159, allocations: 0 / 255.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.01704, allocations: 1.264 MB / 256.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.01705, allocations: 0 / 256.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.01745, allocations: 151.6 kB / 256.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01747, allocations: 8 kB / 256.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.01751, allocations: 0 / 256.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.01754, allocations: 7.922 kB / 256.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01755, allocations: 7.984 kB / 256.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.639e-05/0.01764, allocations: 57.95 kB / 256.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01764, allocations: 4 kB / 256.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.01804, allocations: 75.8 kB / 256.9 MB, free: 1.688 MB / 250.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.0003051/0.01834, allocations: 156.1 kB / 257 MB, free: 1.527 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.01872, allocations: 179 kB / 257.2 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.01874, allocations: 4 kB / 257.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.01898, allocations: 178.6 kB / 257.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01924, allocations: 134.6 kB / 257.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.02174, allocations: 0.5294 MB / 258.1 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.032e-05/0.0218, allocations: 79.83 kB / 258.1 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.445e-05/0.02186, allocations: 13.62 kB / 258.1 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.02194, allocations: 71.34 kB / 258.2 MB, free: 264 kB / 250.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02194, allocations: 0 / 258.2 MB, free: 264 kB / 250.7 MB Notification: Performance of Templates: time 0.007082/0.02902, allocations: 3.499 MB / 261.7 MB, free: 12.78 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.671046786941588]