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.002515/0.002515, allocations: 81.5 kB / 19.44 MB, free: 344 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.002879/0.002879, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.02213/0.02213, allocations: 0.9531 MB / 260.5 MB, free: 12.23 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.463e-06/1.463e-06, allocations: 0 / 330 MB, free: 19.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.759e-05, allocations: 2.312 kB / 330 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002245/0.002272, allocations: 1.572 MB / 331.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.003935, allocations: 1.238 MB / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.003988, allocations: 3.938 kB / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.004512, allocations: 143.3 kB / 333 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.00507, allocations: 278.7 kB / 333.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.121e-06/0.005076, allocations: 0 / 333.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.005199, allocations: 111.4 kB / 333.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.005242, allocations: 13.56 kB / 333.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.005322, allocations: 55.83 kB / 333.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005459, allocations: 59.8 kB / 333.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.00548, allocations: 8 kB / 333.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.005926, allocations: 355.1 kB / 333.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.005983, allocations: 43.83 kB / 333.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.006027, allocations: 31.86 kB / 333.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.006438, allocations: 334.9 kB / 334.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.006446, allocations: 7.984 kB / 334.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006447, allocations: 7.938 kB / 334.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.006453, allocations: 0 / 334.2 MB, free: 14.91 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.0005783/0.007031, allocations: 0.5067 MB / 334.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.007079, allocations: 8.031 kB / 334.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.007141, allocations: 24.8 kB / 334.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.007327, allocations: 172.3 kB / 335 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.00734, allocations: 8.375 kB / 335 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.007352, allocations: 384 / 335 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.007466, allocations: 66.16 kB / 335 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.007474, allocations: 4.188 kB / 335 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.007485, allocations: 384 / 335 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.00749, allocations: 3.938 kB / 335 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.007584, allocations: 55.94 kB / 335.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.007789, allocations: 184.5 kB / 335.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.007902, allocations: 71.08 kB / 335.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.007946, allocations: 27.67 kB / 335.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.008025, allocations: 39.97 kB / 335.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.008042, allocations: 33.39 kB / 335.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.008043, allocations: 3.938 kB / 335.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.001546/0.009589, allocations: 249.1 kB / 335.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.009609, allocations: 51.41 kB / 335.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.009761, allocations: 273.6 kB / 336 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.009771, allocations: 29.7 kB / 336 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.00982, allocations: 166.9 kB / 336.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.009855, allocations: 27.75 kB / 336.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.009895, allocations: 35.36 kB / 336.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.009981, allocations: 0.504 MB / 336.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.01002, allocations: 16 kB / 336.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.01006, allocations: 19.98 kB / 336.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.01014, allocations: 51.61 kB / 336.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01014, allocations: 0 / 336.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006665/0.01081, allocations: 161.6 kB / 337 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01082, allocations: 4 kB / 337 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01083, allocations: 4 kB / 337 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.012, allocations: 107.6 kB / 337.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.01206, allocations: 12 kB / 337.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.0139, allocations: 1.958 MB / 339.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.01397, allocations: 4 kB / 339.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.01398, allocations: 7.938 kB / 339.1 MB, free: 9.715 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.0001027/0.01409, allocations: 172.6 kB / 339.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.01412, allocations: 15.91 kB / 339.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.0149, allocations: 178.6 kB / 339.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01491, allocations: 3.984 kB / 339.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01491, allocations: 3.938 kB / 339.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.01491, allocations: 0 / 339.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.01507, allocations: 184.5 kB / 339.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01508, allocations: 4 kB / 339.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.01512, allocations: 12 kB / 339.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.01613, allocations: 111.5 kB / 339.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01614, allocations: 0 / 339.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.0177, allocations: 1.947 MB / 341.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01771, allocations: 4 kB / 341.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.01837, allocations: 207.8 kB / 341.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.0184, allocations: 15.84 kB / 341.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.01842, allocations: 0 / 341.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.01848, allocations: 4 kB / 341.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.01851, allocations: 15.97 kB / 342 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01852, allocations: 0 / 342 MB, free: 6.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.01862, allocations: 192.3 kB / 342.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01862, allocations: 0 / 342.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.01898, allocations: 79.8 kB / 342.2 MB, free: 6.371 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.0002453/0.01922, allocations: 163 kB / 342.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.01971, allocations: 253.1 kB / 342.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01971, allocations: 0 / 342.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.02001, allocations: 234.1 kB / 342.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.02029, allocations: 30.75 kB / 342.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.02377, allocations: 0.5336 MB / 343.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.02384, allocations: 109.4 kB / 343.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.0239, allocations: 20.91 kB / 343.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.02393, allocations: 20.48 kB / 343.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02393, allocations: 3.938 kB / 343.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of Templates: time 0.007603/0.03154, allocations: 3.533 MB / 347.1 MB, free: 1.418 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: 4.689831549068913]