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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=8000,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=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3176, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01605/0.3337, allocations: 16.61 MB / 425.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.3427, allocations: 4.692 MB / 430.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3447, allocations: 139.6 kB / 430.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01436/0.359, allocations: 7.186 MB / 437.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.3651, allocations: 1.97 MB / 439.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.3687, allocations: 1.538 MB / 441.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.38, allocations: 9.492 MB / 450.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02662/0.4067, allocations: 20.84 MB / 471.7 MB, free: 2.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006948/0.4137, allocations: 5.261 MB / 477 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/0.4218, allocations: 5.911 MB / 482.9 MB, free: 7.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002532/0.4244, allocations: 1.359 MB / 484.3 MB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.4279, allocations: 1.66 MB / 485.9 MB, free: 4.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.4303, allocations: 2.798 MB / 488.7 MB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00577/0.4361, allocations: 5.358 MB / 494.1 MB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.4519, allocations: 18.36 MB / 0.5004 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4519, allocations: 4 kB / 0.5004 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4519, allocations: 0 / 0.5004 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003921/0.4523, allocations: 0 / 0.5004 GB, free: 10.02 MB / 430.1 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.03128/0.4836, allocations: 12.13 MB / 0.5123 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4837, allocations: 8.031 kB / 0.5123 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03368/0.5174, allocations: 6.268 MB / 0.5184 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.5298, allocations: 5.823 MB / 0.5241 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004779/0.5303, allocations: 0.6703 MB / 0.5247 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.5326, allocations: 0.875 MB / 0.5256 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/0.5589, allocations: 14.71 MB / 0.54 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.5591, allocations: 7.906 kB / 0.54 GB, free: 1.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009241/0.56, allocations: 372 kB / 0.5403 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004292/0.5604, allocations: 0.4915 MB / 0.5408 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4118/0.9723, allocations: 13.53 MB / 0.554 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05615/1.028, allocations: 44.54 MB / 0.5975 GB, free: 68.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008804/1.037, allocations: 11.64 MB / 0.6089 GB, free: 55.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/1.041, allocations: 3.163 MB / 0.612 GB, free: 52.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/1.041, allocations: 257.3 kB / 0.6122 GB, free: 52.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/1.041, allocations: 85.92 kB / 0.6123 GB, free: 51.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.891e-06/1.041, allocations: 0 / 0.6123 GB, free: 51.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01667/1.058, allocations: 9.57 MB / 0.6217 GB, free: 42.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.058, allocations: 122.2 kB / 0.6218 GB, free: 42.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/1.061, allocations: 3.163 MB / 0.6249 GB, free: 39.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/1.062, allocations: 89.7 kB / 0.6249 GB, free: 38.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/1.063, allocations: 3.69 MB / 0.6285 GB, free: 35.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.064, allocations: 1.397 MB / 0.6299 GB, free: 33.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/1.066, allocations: 1.128 MB / 0.631 GB, free: 32.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/1.066, allocations: 301.1 kB / 0.6313 GB, free: 32.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/1.069, allocations: 2.838 MB / 0.6341 GB, free: 29.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/1.073, allocations: 4.896 MB / 0.6389 GB, free: 23.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007751/1.081, allocations: 8.255 MB / 0.6469 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.326e-05/1.081, allocations: 23.94 kB / 0.6469 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01272/1.094, allocations: 9.107 MB / 0.6558 GB, free: 5.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/1.094, allocations: 36 kB / 0.6559 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-05/1.094, allocations: 64 kB / 0.6559 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/1.097, allocations: 1.142 MB / 0.657 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/1.101, allocations: 1.295 MB / 0.6583 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.115, allocations: 10.82 MB / 0.6689 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/1.119, allocations: 0.7279 MB / 0.6696 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006097/1.12, allocations: 280 kB / 0.6698 GB, free: 6.762 MB / 478.1 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.005164/1.125, allocations: 3.427 MB / 0.6732 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00083/1.126, allocations: 343.7 kB / 0.6735 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.138, allocations: 6.913 MB / 0.6803 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008768/1.146, allocations: 5.733 MB / 0.6859 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/1.146, allocations: 12 kB / 0.6859 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.071e-05/1.146, allocations: 23.92 kB / 0.6859 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/1.171, allocations: 15.23 MB / 0.7008 GB, free: 6.852 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/1.172, allocations: 12 kB / 0.7008 GB, free: 6.84 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/1.174, allocations: 0.7841 MB / 0.7016 GB, free: 6.055 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/1.178, allocations: 1.063 MB / 0.7026 GB, free: 4.984 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/1.178, allocations: 108 kB / 0.7027 GB, free: 4.879 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/1.192, allocations: 10.57 MB / 0.713 GB, free: 10.03 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/1.192, allocations: 19.94 kB / 0.713 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.207, allocations: 10.68 MB / 0.7235 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.209, allocations: 0.9874 MB / 0.7244 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/1.21, allocations: 99.92 kB / 0.7245 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.212, allocations: 271.7 kB / 0.7248 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/1.213, allocations: 347.2 kB / 0.7251 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/1.213, allocations: 136 kB / 0.7252 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002952/1.216, allocations: 2.125 MB / 0.7273 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.216, allocations: 0 / 0.7273 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005865/1.222, allocations: 2.226 MB / 0.7295 GB, free: 8.871 MB / 0.5294 GB 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.0006044/1.222, allocations: 288.9 kB / 0.7298 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.234, allocations: 7.451 MB / 0.737 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/1.234, allocations: 7.938 kB / 0.7371 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2247/1.458, allocations: 3.653 MB / 0.7406 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/1.462, allocations: 0.8056 MB / 0.7414 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/1.487, allocations: 15.95 MB / 0.757 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/1.492, allocations: 5.935 MB / 0.7628 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004606/1.497, allocations: 2.15 MB / 0.7649 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/1.498, allocations: 322 kB / 0.7652 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.498, allocations: 0 / 0.7652 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.08207/1.58, allocations: 58.48 MB / 0.8223 GB, free: 114.2 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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) 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.0.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) Reference file matches