Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008548/0.0008548, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004252/0.004252, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8827/0.8827, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.97e-05, allocations: 7.062 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01045/0.01047, allocations: 14.32 MB / 340.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008751/0.01922, allocations: 4.563 MB / 344.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.02098, allocations: 159.2 kB / 344.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006673/0.02765, allocations: 7.078 MB / 351.9 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.03118, allocations: 2.034 MB / 353.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.03309, allocations: 1.511 MB / 355.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007163/0.04025, allocations: 9.924 MB / 365.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01321/0.05346, allocations: 13.49 MB / 378.9 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008189/0.06165, allocations: 7.731 MB / 386.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005722/0.06737, allocations: 5.263 MB / 391.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.06862, allocations: 1.359 MB / 393.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.07096, allocations: 1.659 MB / 394.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.07257, allocations: 2.86 MB / 397.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002846/0.07541, allocations: 3.602 MB / 401.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.08772, allocations: 18.66 MB / 420 MB, free: 0.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.08773, allocations: 0 / 420 MB, free: 0.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08773, allocations: 0 / 420 MB, free: 0.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000266/0.08799, allocations: 0 / 420 MB, free: 0.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.01779/0.1058, allocations: 12.16 MB / 432.2 MB, free: 4.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1058, allocations: 15.98 kB / 432.2 MB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.1221, allocations: 6.199 MB / 438.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008019/0.1301, allocations: 5.917 MB / 444.3 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.1304, allocations: 0.6742 MB / 445 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.132, allocations: 0.8827 MB / 445.9 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3201/0.4521, allocations: 14.97 MB / 460.8 MB, free: 97.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.4522, allocations: 6.766 kB / 460.8 MB, free: 97.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005857/0.4528, allocations: 376.5 kB / 461.2 MB, free: 96.84 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.4531, allocations: 497.4 kB / 461.7 MB, free: 96.79 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.4656, allocations: 13.51 MB / 475.2 MB, free: 89.78 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02995/0.4955, allocations: 38.56 MB / 0.5017 GB, free: 51.13 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005323/0.5008, allocations: 5.965 MB / 0.5075 GB, free: 45.37 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.5031, allocations: 2.866 MB / 0.5103 GB, free: 42.51 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.5033, allocations: 107.9 kB / 0.5105 GB, free: 42.4 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5033, allocations: 78.56 kB / 0.5105 GB, free: 42.32 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.611e-06/0.5033, allocations: 0 / 0.5105 GB, free: 42.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01043/0.5138, allocations: 9.428 MB / 0.5197 GB, free: 32.91 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.5138, allocations: 125 kB / 0.5199 GB, free: 32.77 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.5164, allocations: 3.236 MB / 0.523 GB, free: 29.61 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.5166, allocations: 89.7 kB / 0.5231 GB, free: 29.51 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009691/0.5175, allocations: 3.815 MB / 0.5268 GB, free: 26.12 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.5181, allocations: 1.443 MB / 0.5282 GB, free: 24.69 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009507/0.519, allocations: 1.136 MB / 0.5293 GB, free: 23.54 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.772e-05/0.5191, allocations: 305.1 kB / 0.5296 GB, free: 23.24 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/0.5214, allocations: 2.838 MB / 0.5324 GB, free: 20.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/0.5241, allocations: 4.912 MB / 0.5372 GB, free: 14.54 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005277/0.5294, allocations: 8.274 MB / 0.5453 GB, free: 5.332 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.5294, allocations: 24 kB / 0.5453 GB, free: 5.309 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.00866/0.5381, allocations: 9.099 MB / 0.5542 GB, free: 12.19 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.5381, allocations: 40.77 kB / 0.5542 GB, free: 12.15 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.255e-05/0.5382, allocations: 67.94 kB / 0.5543 GB, free: 12.09 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.54, allocations: 1.149 MB / 0.5554 GB, free: 10.93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.5423, allocations: 1.299 MB / 0.5567 GB, free: 9.629 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.5524, allocations: 10.37 MB / 0.5668 GB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.5548, allocations: 0.7452 MB / 0.5675 GB, free: 14.31 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.5552, allocations: 284 kB / 0.5678 GB, free: 14.03 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004496/0.5596, allocations: 3.419 MB / 0.5711 GB, free: 10.6 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/0.5601, allocations: 365.6 kB / 0.5715 GB, free: 10.24 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007496/0.5676, allocations: 6.878 MB / 0.5782 GB, free: 3.336 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005889/0.5735, allocations: 5.732 MB / 0.5838 GB, free: 13.59 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.5735, allocations: 8 kB / 0.5838 GB, free: 13.59 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.5736, allocations: 27.86 kB / 0.5838 GB, free: 13.56 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.5888, allocations: 13.45 MB / 0.597 GB, free: 15.97 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.5889, allocations: 12.25 kB / 0.597 GB, free: 15.96 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.5904, allocations: 0.7997 MB / 0.5978 GB, free: 15.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.5921, allocations: 1.062 MB / 0.5988 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.5922, allocations: 112 kB / 0.5989 GB, free: 13.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009321/0.6016, allocations: 10.15 MB / 0.6088 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.6016, allocations: 15.94 kB / 0.6088 GB, free: 3.625 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.6122, allocations: 10.67 MB / 0.6193 GB, free: 8.719 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/0.6138, allocations: 0.9629 MB / 0.6202 GB, free: 7.754 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.6141, allocations: 100 kB / 0.6203 GB, free: 7.656 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6152, allocations: 267.7 kB / 0.6206 GB, free: 7.395 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/0.6157, allocations: 363 kB / 0.6209 GB, free: 7.039 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004856/0.6161, allocations: 148 kB / 0.621 GB, free: 6.895 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002195/0.6183, allocations: 2.093 MB / 0.6231 GB, free: 4.797 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.6183, allocations: 0 / 0.6231 GB, free: 4.797 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004446/0.6228, allocations: 2.258 MB / 0.6253 GB, free: 2.531 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004826/0.6233, allocations: 286.8 kB / 0.6256 GB, free: 2.242 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.1634/0.7867, allocations: 7.169 MB / 0.6326 GB, free: 172 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.7867, allocations: 0 / 0.6326 GB, free: 172 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.7903, allocations: 3.415 MB / 0.6359 GB, free: 171.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.7928, allocations: 0.7799 MB / 0.6367 GB, free: 170.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.8097, allocations: 15.89 MB / 0.6522 GB, free: 162 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/0.8129, allocations: 5.298 MB / 0.6574 GB, free: 158 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.814, allocations: 396.4 kB / 0.6577 GB, free: 157.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.693e-06/0.814, allocations: 0 / 0.6577 GB, free: 157.6 MB / 490.8 MB Notification: Performance of Templates: time 0.2828/1.097, allocations: 199.6 MB / 0.8527 GB, free: 130.7 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.687159437686205]