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.001571/0.001571, allocations: 88.83 kB / 19.44 MB, free: 352 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.002101/0.002101, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.0169/0.0169, allocations: 0.9523 MB / 260.5 MB, free: 12.24 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.094e-06/2.094e-06, allocations: 0 / 330 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.72e-05, allocations: 2.312 kB / 330 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002667/0.002704, allocations: 1.539 MB / 331.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.00462, allocations: 1.164 MB / 332.7 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004733, allocations: 7.938 kB / 332.7 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.005439, allocations: 143.3 kB / 332.9 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.006308, allocations: 274.7 kB / 333.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.224e-06/0.006315, allocations: 0 / 333.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.00649, allocations: 115.4 kB / 333.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.00655, allocations: 9.578 kB / 333.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.006638, allocations: 59.81 kB / 333.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.006804, allocations: 59.8 kB / 333.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.006822, allocations: 8 kB / 333.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.007473, allocations: 359 kB / 333.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.007545, allocations: 39.83 kB / 333.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.007605, allocations: 27.88 kB / 333.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.008096, allocations: 342.9 kB / 334.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.008102, allocations: 3.938 kB / 334.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.008104, allocations: 0 / 334.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.00811, allocations: 0 / 334.1 MB, free: 15.04 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.0007563/0.008867, allocations: 417 kB / 334.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.008914, allocations: 8.031 kB / 334.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.008997, allocations: 28.73 kB / 334.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.009234, allocations: 177.5 kB / 334.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.009248, allocations: 4.375 kB / 334.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.009261, allocations: 384 / 334.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.009444, allocations: 110.1 kB / 334.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.009457, allocations: 192 / 334.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.009473, allocations: 384 / 334.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.009479, allocations: 3.938 kB / 334.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.009637, allocations: 143.9 kB / 335 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.009874, allocations: 205.2 kB / 335.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.01005, allocations: 150.5 kB / 335.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.01012, allocations: 64.83 kB / 335.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-05/0.0102, allocations: 39.97 kB / 335.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.01022, allocations: 30.56 kB / 335.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.01023, allocations: 4 kB / 335.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.00181/0.01204, allocations: 374.2 kB / 335.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.01207, allocations: 51.41 kB / 335.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.01228, allocations: 219 kB / 336.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.0123, allocations: 25.7 kB / 336.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.01235, allocations: 116.1 kB / 336.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.01239, allocations: 35.72 kB / 336.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.01244, allocations: 29.64 kB / 336.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.0125, allocations: 326.8 kB / 336.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.01256, allocations: 55.97 kB / 336.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.01261, allocations: 59.97 kB / 336.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.01274, allocations: 144.7 kB / 336.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01275, allocations: 0 / 336.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007678/0.01351, allocations: 234.2 kB / 337.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01353, allocations: 7.984 kB / 337.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01354, allocations: 4 kB / 337.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.01473, allocations: 96.75 kB / 337.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.01481, allocations: 19.98 kB / 337.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.01673, allocations: 1.427 MB / 338.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01685, allocations: 4.031 kB / 338.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01686, allocations: 7.875 kB / 338.7 MB, free: 10.2 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 0.0001002/0.01696, allocations: 129.8 kB / 338.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.01699, allocations: 15.91 kB / 338.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.01782, allocations: 268.4 kB / 339.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01782, allocations: 0 / 339.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.01782, allocations: 3.938 kB / 339.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01783, allocations: 4 kB / 339.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.01802, allocations: 193.2 kB / 339.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01802, allocations: 0 / 339.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.01808, allocations: 16 kB / 339.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.01914, allocations: 112.7 kB / 339.4 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.01915, allocations: 0 / 339.4 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.02075, allocations: 1.416 MB / 340.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.02075, allocations: 0 / 340.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.02152, allocations: 265.7 kB / 341.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.02157, allocations: 19.94 kB / 341.1 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.02159, allocations: 8 kB / 341.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.02166, allocations: 7.984 kB / 341.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.0217, allocations: 11.97 kB / 341.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.02171, allocations: 4 kB / 341.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.02183, allocations: 168.4 kB / 341.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02184, allocations: 3.938 kB / 341.3 MB, free: 7.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.02226, allocations: 75.81 kB / 341.4 MB, free: 7.324 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.0003005/0.02256, allocations: 166.9 kB / 341.5 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.02315, allocations: 270.2 kB / 341.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02315, allocations: 0 / 341.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.02347, allocations: 202.8 kB / 342 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.02379, allocations: 37.84 kB / 342 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.02733, allocations: 0.5731 MB / 342.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.02742, allocations: 109.4 kB / 342.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.703e-05/0.0275, allocations: 33.44 kB / 342.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.02754, allocations: 12.5 kB / 342.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of SimCode: time 1.583e-06/0.02754, allocations: 0 / 342.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of Templates: time 0.007357/0.0349, allocations: 3.429 MB / 346.2 MB, free: 2.453 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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.281992684002034]