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.0009568/0.0009568, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001065/0.001065, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 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 0.9889/0.9889, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.005129/0.005129, allocations: 0.9702 MB / 262 MB, free: 12.02 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.232e-06/1.232e-06, allocations: 0 / 332 MB, free: 18.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.331e-05, allocations: 2.312 kB / 332 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001492/0.001505, allocations: 1.58 MB / 333.6 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002565, allocations: 1.226 MB / 334.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.002608, allocations: 0 / 334.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.002973, allocations: 155.1 kB / 334.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.003311, allocations: 282.7 kB / 335.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.003315, allocations: 0 / 335.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.003401, allocations: 115.4 kB / 335.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.003436, allocations: 5.641 kB / 335.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.003489, allocations: 67.75 kB / 335.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003597, allocations: 55.86 kB / 335.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.003609, allocations: 7.938 kB / 335.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.003916, allocations: 363.1 kB / 335.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.003955, allocations: 35.86 kB / 335.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.003981, allocations: 31.84 kB / 335.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.004231, allocations: 334.8 kB / 336.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004233, allocations: 0 / 336.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004234, allocations: 0 / 336.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.756e-06/0.004237, allocations: 0 / 336.2 MB, free: 14.29 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.0003306/0.004567, allocations: 0.5032 MB / 336.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.004597, allocations: 12.03 kB / 336.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.00463, allocations: 20.8 kB / 336.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.004741, allocations: 176.3 kB / 336.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.004748, allocations: 4.375 kB / 336.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.004758, allocations: 8.312 kB / 336.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.233e-05/0.00482, allocations: 46.23 kB / 337 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.004825, allocations: 192 / 337 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004832, allocations: 4.375 kB / 337 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004837, allocations: 7.938 kB / 337 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.004879, allocations: 39.88 kB / 337 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.004989, allocations: 145.2 kB / 337.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.005051, allocations: 59.05 kB / 337.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.005072, allocations: 23.67 kB / 337.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.005119, allocations: 35.98 kB / 337.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.005131, allocations: 37.39 kB / 337.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 6.81e-07/0.005132, allocations: 4 kB / 337.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007338/0.005866, allocations: 221.1 kB / 337.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.005883, allocations: 51.41 kB / 337.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.00598, allocations: 265.6 kB / 337.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.005988, allocations: 25.7 kB / 337.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.006026, allocations: 182.8 kB / 338.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.006055, allocations: 31.73 kB / 338.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.006084, allocations: 31.36 kB / 338.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.006138, allocations: 0.504 MB / 338.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.006158, allocations: 11.98 kB / 338.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.006175, allocations: 11.98 kB / 338.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.006218, allocations: 31.62 kB / 338.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.006221, allocations: 4 kB / 338.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003048/0.006525, allocations: 141.1 kB / 338.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.006539, allocations: 7.938 kB / 338.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006546, allocations: 4 kB / 338.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/0.007061, allocations: 103.5 kB / 338.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.007097, allocations: 19.92 kB / 338.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/0.007968, allocations: 1.838 MB / 340.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.007998, allocations: 11.92 kB / 340.8 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.008005, allocations: 7.984 kB / 340.8 MB, free: 9.367 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.923e-05/0.008054, allocations: 156.5 kB / 341 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.008069, allocations: 19.91 kB / 341 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.008392, allocations: 163.3 kB / 341.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.008393, allocations: 0 / 341.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.008394, allocations: 0 / 341.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.008396, allocations: 4 kB / 341.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.485e-05/0.008471, allocations: 149.1 kB / 341.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008472, allocations: 0 / 341.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.008492, allocations: 12 kB / 341.3 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.008928, allocations: 107.5 kB / 341.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.008933, allocations: 3.984 kB / 341.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007547/0.009688, allocations: 1.834 MB / 343.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009689, allocations: 0 / 343.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.009974, allocations: 179.8 kB / 343.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.009988, allocations: 19.83 kB / 343.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.009999, allocations: 4 kB / 343.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.419e-05/0.01002, allocations: 7.938 kB / 343.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.01004, allocations: 12.05 kB / 343.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.01004, allocations: 7.922 kB / 343.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.0101, allocations: 184.3 kB / 343.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0101, allocations: 0 / 343.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000209/0.0103, allocations: 75.81 kB / 343.7 MB, free: 6.25 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.0001531/0.01046, allocations: 174.9 kB / 343.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.01068, allocations: 229.2 kB / 344.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01068, allocations: 0 / 344.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.0108, allocations: 225.7 kB / 344.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.01095, allocations: 21.45 kB / 344.4 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.01247, allocations: 0.5359 MB / 344.9 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.275e-05/0.01249, allocations: 71.83 kB / 345 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.01252, allocations: 25.45 kB / 345 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.01257, allocations: 78.2 kB / 345.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01257, allocations: 4 kB / 345.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of Templates: time 0.004253/0.01682, allocations: 3.845 MB / 348.9 MB, free: 0.9805 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.8117985259741545]