Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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.001827/0.001827, allocations: 85.48 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.001995/0.001995, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.01182/0.01182, allocations: 0.9653 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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 330 MB, free: 19.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.034e-05, allocations: 4.562 kB / 330 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.001893/0.001923, allocations: 1.251 MB / 331.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008969/0.00282, allocations: 0.666 MB / 331.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.00285, allocations: 4 kB / 332 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.003105, allocations: 35.83 kB / 332 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.003429, allocations: 103.4 kB / 332.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.003432, allocations: 0 / 332.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.003491, allocations: 23.92 kB / 332.1 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.003525, allocations: 7.984 kB / 332.1 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.003568, allocations: 15.92 kB / 332.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.003628, allocations: 7.938 kB / 332.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.003639, allocations: 0 / 332.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.003868, allocations: 175.5 kB / 332.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.00391, allocations: 11.94 kB / 332.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.003933, allocations: 8 kB / 332.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.004146, allocations: 163.4 kB / 332.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.00415, allocations: 0 / 332.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004151, allocations: 0 / 332.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.004156, allocations: 3.938 kB / 332.5 MB, free: 16.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003534/0.00451, allocations: 384.1 kB / 332.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004545, allocations: 12.03 kB / 332.9 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.004587, allocations: 0.9375 kB / 332.9 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004739, allocations: 132.5 kB / 333 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.004749, allocations: 384 / 333 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.004767, allocations: 4.375 kB / 333 MB, free: 16.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.004847, allocations: 38.25 kB / 333.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.004858, allocations: 192 / 333.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.004866, allocations: 384 / 333.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.004871, allocations: 3.938 kB / 333.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.004914, allocations: 15.92 kB / 333.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.005038, allocations: 128.7 kB / 333.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.005249, allocations: 51.05 kB / 333.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.005274, allocations: 15.69 kB / 333.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.005309, allocations: 8 kB / 333.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.005321, allocations: 37.47 kB / 333.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.005322, allocations: 0 / 333.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000343/0.005665, allocations: 105.5 kB / 333.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.005684, allocations: 51.41 kB / 333.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.005757, allocations: 181.9 kB / 333.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.005764, allocations: 25.7 kB / 333.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.005792, allocations: 150.8 kB / 333.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.005816, allocations: 23.78 kB / 333.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.005848, allocations: 23.38 kB / 333.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.005906, allocations: 0.4923 MB / 334.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.00593, allocations: 8 kB / 334.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.005949, allocations: 8 kB / 334.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.005998, allocations: 31.67 kB / 334.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.005999, allocations: 0 / 334.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.717e-05/0.006086, allocations: 65.84 kB / 334.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006097, allocations: 7.984 kB / 334.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006101, allocations: 4 kB / 334.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.006116, allocations: 7.938 kB / 334.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.006158, allocations: 11.94 kB / 334.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.006163, allocations: 0 / 334.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.006185, allocations: 0 / 334.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.006201, allocations: 4 kB / 334.5 MB, free: 14.48 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.006247, allocations: 164.6 kB / 334.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.006261, allocations: 0 / 334.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.006415, allocations: 93.72 kB / 334.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006417, allocations: 4.219 kB / 334.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.006421, allocations: 4 kB / 334.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006423, allocations: 0 / 334.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.006695, allocations: 341 kB / 335.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006697, allocations: 3.984 kB / 335.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.006733, allocations: 11.94 kB / 335.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006736, allocations: 7.938 kB / 335.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.006744, allocations: 0 / 335.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.006745, allocations: 0 / 335.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006746, allocations: 0 / 335.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.006852, allocations: 219.6 kB / 335.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.006864, allocations: 11.88 kB / 335.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.006879, allocations: 8.031 kB / 335.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.006929, allocations: 0 / 335.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.006951, allocations: 4 kB / 335.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.00696, allocations: 8.188 kB / 335.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.007004, allocations: 143 kB / 335.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007004, allocations: 0 / 335.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.00724, allocations: 27.94 kB / 335.5 MB, free: 13.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.007432, allocations: 131.1 kB / 335.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.007526, allocations: 35.67 kB / 335.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.007527, allocations: 0 / 335.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.00755, allocations: 27.62 kB / 335.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.007752, allocations: 6.234 kB / 335.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.00802, allocations: 171.8 kB / 335.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.008066, allocations: 79.19 kB / 336 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.652e-05/0.008093, allocations: 8.062 kB / 336 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.008118, allocations: 20.48 kB / 336 MB, free: 12.82 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008118, allocations: 0 / 336 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Templates: time 0.003642/0.01176, allocations: 1.003 MB / 337 MB, free: 11.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4800322990631685]