Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001599, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 61.84 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08705, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008159/0.09525, allocations: 7.846 MB / 366.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.09957, allocations: 2.472 MB / 369.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007131/0.1003, allocations: 59.75 kB / 369.3 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.1012, allocations: 444.9 kB / 369.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1033, allocations: 0.8548 MB / 370.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.1043, allocations: 402.5 kB / 371 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1542/0.2585, allocations: 3.236 MB / 374.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.2614, allocations: 2.907 MB / 377.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.2632, allocations: 1.412 MB / 378.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.2651, allocations: 1.696 MB / 380.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005292/0.2657, allocations: 358.7 kB / 380.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009732/0.2667, allocations: 498.5 kB / 381 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008958/0.2676, allocations: 0.9038 MB / 382 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.2696, allocations: 1.615 MB / 383.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.2746, allocations: 4.702 MB / 388.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2747, allocations: 1.094 kB / 388.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.2747, allocations: 0 / 388.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.2748, allocations: 0 / 388.3 MB, free: 5.938 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.00844/0.2832, allocations: 3.646 MB / 391.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2833, allocations: 9.5 kB / 391.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.2871, allocations: 0.7428 MB / 392.7 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.2904, allocations: 1.848 MB / 394.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.2905, allocations: 197.2 kB / 394.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.2908, allocations: 261.3 kB / 395 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/0.2955, allocations: 3.622 MB / 398.6 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.2956, allocations: 0 / 398.6 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.2958, allocations: 112.3 kB / 398.7 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.2959, allocations: 102.5 kB / 398.8 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.3007, allocations: 3.105 MB / 401.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.315, allocations: 10.22 MB / 412.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/0.3194, allocations: 4.566 MB / 416.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.3207, allocations: 0.953 MB / 417.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003933/0.3247, allocations: 2.634 MB / 420.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3247, allocations: 43.44 kB / 420.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.324e-06/0.3247, allocations: 11.59 kB / 420.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005923/0.3306, allocations: 2.658 MB / 423 MB, free: 7.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3307, allocations: 85.98 kB / 423.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.3325, allocations: 1.396 MB / 424.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.3326, allocations: 45.7 kB / 424.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/0.3333, allocations: 1.174 MB / 425.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3335, allocations: 357.4 kB / 426 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.3338, allocations: 218.8 kB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.334, allocations: 365.9 kB / 426.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008271/0.3348, allocations: 0.5569 MB / 427.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3358, allocations: 0.8524 MB / 428 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.3377, allocations: 1.457 MB / 429.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3378, allocations: 4 kB / 429.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003007/0.3408, allocations: 1.969 MB / 431.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.3408, allocations: 12 kB / 431.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3408, allocations: 8 kB / 431.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008932/0.3417, allocations: 393.4 kB / 431.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.3425, allocations: 218.5 kB / 432.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006994/0.3495, allocations: 6.517 MB / 438.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3506, allocations: 142.7 kB / 438.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.3507, allocations: 47.98 kB / 438.8 MB, free: 7.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.3522, allocations: 0.8742 MB / 439.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.3524, allocations: 138.3 kB / 439.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.3551, allocations: 1.654 MB / 441.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3551, allocations: 11.98 kB / 441.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3552, allocations: 8 kB / 441.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3552, allocations: 3.984 kB / 441.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.361, allocations: 3.92 MB / 445.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.361, allocations: 3.984 kB / 445.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.3616, allocations: 135 kB / 445.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008279/0.3624, allocations: 397.3 kB / 445.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/0.3625, allocations: 31.98 kB / 445.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006908/0.3694, allocations: 6.517 MB / 452.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3694, allocations: 15.38 kB / 452.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.3729, allocations: 2.475 MB / 454.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.3733, allocations: 251.2 kB / 455.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.3735, allocations: 24 kB / 455.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.3742, allocations: 87.91 kB / 455.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.3744, allocations: 96.05 kB / 455.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.3745, allocations: 35.98 kB / 455.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.3757, allocations: 0.9756 MB / 456.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3757, allocations: 3.938 kB / 456.4 MB, free: 5.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001721/0.3774, allocations: 0.6766 MB / 457.1 MB, free: 4.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/0.3777, allocations: 154.2 kB / 457.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.3804, allocations: 1.79 MB / 459 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3804, allocations: 4.281 kB / 459 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.382, allocations: 1.127 MB / 460.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3833, allocations: 301.2 kB / 460.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.3896, allocations: 4.581 MB / 465 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.3912, allocations: 2.192 MB / 467.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008168/0.392, allocations: 343 kB / 467.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.3923, allocations: 87.42 kB / 467.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3923, allocations: 0 / 467.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of Templates: time 0.03258/0.4249, allocations: 20.51 MB / 488.1 MB, free: 5.684 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches