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.00111/0.00111, allocations: 97.81 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 204.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002271, allocations: 11.98 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09686, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1864/0.2833, allocations: 15.44 MB / 375.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009861/0.2932, allocations: 4.647 MB / 380 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.2962, allocations: 124.5 kB / 380.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.2998, allocations: 1.157 MB / 381.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.3071, allocations: 1.769 MB / 383.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.311, allocations: 1.452 MB / 384.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.323, allocations: 9.595 MB / 394.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03266/0.3557, allocations: 21.01 MB / 415.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00686/0.3626, allocations: 3.752 MB / 418.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007424/0.3701, allocations: 4.542 MB / 423.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.3719, allocations: 0.5664 MB / 424 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.3756, allocations: 0.871 MB / 424.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.3777, allocations: 1.795 MB / 426.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006505/0.3842, allocations: 4.268 MB / 430.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.3994, allocations: 15.41 MB / 446.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3994, allocations: 4 kB / 446.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.3994, allocations: 3.984 kB / 446.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004877/0.3999, allocations: 0 / 446.3 MB, free: 5.191 MB / 350.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.02932/0.4292, allocations: 10.28 MB / 456.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4293, allocations: 12.03 kB / 456.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03559/0.4649, allocations: 6.248 MB / 462.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.4763, allocations: 5.671 MB / 468.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007744/0.4771, allocations: 0.6664 MB / 469.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/0.4806, allocations: 0.8788 MB / 470.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/0.5173, allocations: 14.74 MB / 484.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005001/0.5178, allocations: 11.89 kB / 484.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/0.5207, allocations: 376 kB / 485.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.5213, allocations: 495.3 kB / 485.7 MB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02846/0.5497, allocations: 13.57 MB / 499.3 MB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08116/0.631, allocations: 45.22 MB / 0.5317 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3602/0.9912, allocations: 11.68 MB / 0.5431 GB, free: 120.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005159/0.9964, allocations: 3.226 MB / 0.5463 GB, free: 119.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004659/0.9969, allocations: 259.7 kB / 0.5465 GB, free: 118.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.9969, allocations: 85.11 kB / 0.5466 GB, free: 118.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.652e-06/0.997, allocations: 3.938 kB / 0.5466 GB, free: 118.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02207/1.019, allocations: 9.755 MB / 0.5561 GB, free: 115.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/1.019, allocations: 131.8 kB / 0.5563 GB, free: 115.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/1.024, allocations: 3.15 MB / 0.5593 GB, free: 114.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006648/1.024, allocations: 93.48 kB / 0.5594 GB, free: 114.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.026, allocations: 3.685 MB / 0.563 GB, free: 111.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.028, allocations: 1.428 MB / 0.5644 GB, free: 110.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007696/1.029, allocations: 469.5 kB / 0.5649 GB, free: 110.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/1.029, allocations: 306.7 kB / 0.5652 GB, free: 110.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.033, allocations: 2.904 MB / 0.568 GB, free: 109.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/1.038, allocations: 4.982 MB / 0.5729 GB, free: 105.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009033/1.047, allocations: 8.401 MB / 0.5811 GB, free: 100.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-05/1.047, allocations: 18.31 kB / 0.5811 GB, free: 100.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01368/1.061, allocations: 9.238 MB / 0.5901 GB, free: 95.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/1.061, allocations: 40.03 kB / 0.5901 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.296e-05/1.061, allocations: 64 kB / 0.5902 GB, free: 94.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/1.064, allocations: 1.111 MB / 0.5913 GB, free: 94.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004618/1.068, allocations: 1.291 MB / 0.5926 GB, free: 92.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.08, allocations: 9.94 MB / 0.6023 GB, free: 82.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.084, allocations: 0.7403 MB / 0.603 GB, free: 81.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000793/1.085, allocations: 276.7 kB / 0.6032 GB, free: 81.54 MB / 446.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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004944/1.09, allocations: 3.423 MB / 0.6066 GB, free: 78.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/1.091, allocations: 351.6 kB / 0.6069 GB, free: 77.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.101, allocations: 7.047 MB / 0.6138 GB, free: 70.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007562/1.108, allocations: 5.87 MB / 0.6195 GB, free: 64.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.234e-05/1.108, allocations: 12 kB / 0.6196 GB, free: 64.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.108, allocations: 19.92 kB / 0.6196 GB, free: 64.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/1.131, allocations: 15.57 MB / 0.6348 GB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/1.131, allocations: 12 kB / 0.6348 GB, free: 48.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/1.134, allocations: 0.784 MB / 0.6356 GB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/1.137, allocations: 1.04 MB / 0.6366 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004059/1.137, allocations: 112.2 kB / 0.6367 GB, free: 47.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.148, allocations: 9.678 MB / 0.6461 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.148, allocations: 23.92 kB / 0.6461 GB, free: 37.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.162, allocations: 10.93 MB / 0.6568 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.164, allocations: 1.007 MB / 0.6578 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006426/1.165, allocations: 95.98 kB / 0.6579 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.167, allocations: 283.7 kB / 0.6582 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006409/1.168, allocations: 343.2 kB / 0.6585 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.168, allocations: 144 kB / 0.6586 GB, free: 24.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002786/1.171, allocations: 2.125 MB / 0.6607 GB, free: 21.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.171, allocations: 0 / 0.6607 GB, free: 21.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006345/1.177, allocations: 2.233 MB / 0.6629 GB, free: 19.66 MB / 446.1 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.0009348/1.178, allocations: 304.1 kB / 0.6632 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01049/1.189, allocations: 7.57 MB / 0.6706 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/1.189, allocations: 4 kB / 0.6706 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005561/1.194, allocations: 3.729 MB / 0.6742 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00957/1.204, allocations: 0.7627 MB / 0.675 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03344/1.238, allocations: 19.77 MB / 0.6943 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/1.249, allocations: 5.757 MB / 0.6999 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/1.251, allocations: 367.4 kB / 0.7002 GB, free: 13.14 MB / 478.1 MB Notification: Performance of SimCode: time 1.373e-06/1.251, allocations: 4 kB / 0.7002 GB, free: 13.14 MB / 478.1 MB Notification: Performance of Templates: time 0.4408/1.692, allocations: 193.7 MB / 0.8894 GB, free: 8.02 MB / 494.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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