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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] 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.02226/0.02226, allocations: 1.24 MB / 305.7 MB, free: 3.445 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001995/0.001995, allocations: 71.88 kB / 425.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2769, allocations: 52.41 MB / 478.1 MB, free: 28.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002275/0.2791, allocations: 1.552 MB / 479.6 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2806, allocations: 1.284 MB / 480.9 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.2806, allocations: 0 / 480.9 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.2811, allocations: 150.7 kB / 481.1 MB, free: 26.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006234/0.2817, allocations: 260.5 kB / 481.3 MB, free: 26.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.783e-06/0.2817, allocations: 0 / 481.3 MB, free: 26.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2819, allocations: 118.2 kB / 481.4 MB, free: 26.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.2819, allocations: 4.453 kB / 481.4 MB, free: 26.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/0.282, allocations: 51.94 kB / 481.5 MB, free: 26.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.2822, allocations: 68.34 kB / 481.6 MB, free: 26.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2822, allocations: 3.156 kB / 481.6 MB, free: 26.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.2827, allocations: 436.4 kB / 482 MB, free: 25.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.2827, allocations: 42.53 kB / 482 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.2828, allocations: 54.23 kB / 482.1 MB, free: 25.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.2831, allocations: 343 kB / 482.4 MB, free: 25.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2831, allocations: 0 / 482.4 MB, free: 25.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2831, allocations: 0 / 482.4 MB, free: 25.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2831, allocations: 2.906 kB / 482.4 MB, free: 25.72 MB / 366.1 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.0005858/0.2837, allocations: 499.1 kB / 482.9 MB, free: 25.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2838, allocations: 12.55 kB / 482.9 MB, free: 25.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.2838, allocations: 14.88 kB / 482.9 MB, free: 25.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.284, allocations: 244.5 kB / 483.2 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2841, allocations: 3.406 kB / 483.2 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2841, allocations: 8.375 kB / 483.2 MB, free: 25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.2842, allocations: 108 kB / 483.3 MB, free: 24.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2842, allocations: 6.938 kB / 483.3 MB, free: 24.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2842, allocations: 0 / 483.3 MB, free: 24.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2842, allocations: 0 / 483.3 MB, free: 24.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2844, allocations: 152.8 kB / 483.4 MB, free: 24.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.2846, allocations: 261.5 kB / 483.7 MB, free: 24.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2848, allocations: 145.1 kB / 483.8 MB, free: 24.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.2848, allocations: 68.86 kB / 483.9 MB, free: 24.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.2849, allocations: 38.39 kB / 483.9 MB, free: 24.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2849, allocations: 42.16 kB / 484 MB, free: 24.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.2849, allocations: 3 kB / 484 MB, free: 24.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001679/0.2866, allocations: 444.6 kB / 484.4 MB, free: 24.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.2866, allocations: 51.41 kB / 484.5 MB, free: 24.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2868, allocations: 216.9 kB / 484.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2868, allocations: 25.7 kB / 484.7 MB, free: 24.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.2869, allocations: 120 kB / 484.8 MB, free: 24.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.2869, allocations: 26.72 kB / 484.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.2869, allocations: 23.19 kB / 484.9 MB, free: 24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.287, allocations: 335.8 kB / 485.2 MB, free: 23.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.287, allocations: 54.48 kB / 485.3 MB, free: 23.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.2871, allocations: 64.52 kB / 485.3 MB, free: 23.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2872, allocations: 142.2 kB / 485.5 MB, free: 23.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2872, allocations: 0 / 485.5 MB, free: 23.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007/0.2879, allocations: 242.6 kB / 485.7 MB, free: 23.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.288, allocations: 3.219 kB / 485.7 MB, free: 23.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.288, allocations: 0 / 485.7 MB, free: 23.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.2887, allocations: 74.36 kB / 485.8 MB, free: 23.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.2887, allocations: 13.59 kB / 485.8 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.2905, allocations: 1.545 MB / 487.3 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.2905, allocations: 14.75 kB / 487.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2906, allocations: 3.312 kB / 487.4 MB, free: 22.05 MB / 366.1 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.416e-05/0.2906, allocations: 128.5 kB / 487.5 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.2907, allocations: 16.69 kB / 487.5 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007488/0.2914, allocations: 272.5 kB / 487.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2914, allocations: 7.922 kB / 487.8 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2914, allocations: 0 / 487.8 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2914, allocations: 0 / 487.8 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.2916, allocations: 265.3 kB / 488 MB, free: 21.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2916, allocations: 7.938 kB / 488 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.2917, allocations: 16.41 kB / 488.1 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006017/0.2923, allocations: 73.39 kB / 488.1 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2923, allocations: 3.375 kB / 488.1 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.2937, allocations: 1.536 MB / 489.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2937, allocations: 3.062 kB / 489.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.2944, allocations: 266.3 kB / 489.9 MB, free: 20 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.2945, allocations: 88.05 kB / 490 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2945, allocations: 3 kB / 490 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.2945, allocations: 11.36 kB / 490 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.2946, allocations: 9.141 kB / 490 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2946, allocations: 6.094 kB / 490 MB, free: 19.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2947, allocations: 164.1 kB / 490.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2947, allocations: 0 / 490.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.2951, allocations: 83.5 kB / 490.3 MB, free: 19.76 MB / 366.1 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.0002576/0.2953, allocations: 163.1 kB / 490.4 MB, free: 19.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.2958, allocations: 266.5 kB / 490.7 MB, free: 19.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2959, allocations: 0 / 490.7 MB, free: 19.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.2962, allocations: 206.6 kB / 490.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2964, allocations: 26.5 kB / 490.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.3, allocations: 0.5889 MB / 491.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3002, allocations: 0.7191 MB / 492.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.3002, allocations: 17.58 kB / 492.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.3002, allocations: 15.02 kB / 492.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3002, allocations: 6.875 kB / 492.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007711/0.308, allocations: 3.216 MB / 495.5 MB, free: 18.16 MB / 366.1 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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.698699790984392]