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.0008925/0.0008924, allocations: 94.61 kB / 18 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.001092/0.001092, allocations: 204.1 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.362/1.362, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003578, allocations: 8 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 51.52 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008539/0.1179, allocations: 7.254 MB / 367.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005661/0.1236, allocations: 2.437 MB / 369.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.125, allocations: 51.81 kB / 369.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1263, allocations: 377.9 kB / 370 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.1293, allocations: 0.7699 MB / 370.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1306, allocations: 363 kB / 371.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1893/0.3199, allocations: 3.527 MB / 374.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.3229, allocations: 2.417 MB / 377.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.3245, allocations: 1.036 MB / 378.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.3263, allocations: 1.396 MB / 379.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.3266, allocations: 152.1 kB / 379.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007788/0.3274, allocations: 287 kB / 379.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.328, allocations: 0.6499 MB / 380.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.3293, allocations: 1.346 MB / 381.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.3337, allocations: 3.752 MB / 385.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3337, allocations: 0.9375 kB / 385.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3337, allocations: 1.031 kB / 385.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001153/0.3338, allocations: 0 / 385.7 MB, free: 7.402 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.007796/0.3416, allocations: 3.147 MB / 388.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3417, allocations: 12.31 kB / 388.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.3461, allocations: 0.7737 MB / 389.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.3492, allocations: 1.778 MB / 391.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.3493, allocations: 202.1 kB / 391.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/0.3498, allocations: 259.1 kB / 391.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/0.3559, allocations: 3.632 MB / 395.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.356, allocations: 0 / 395.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.3562, allocations: 107.2 kB / 395.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-05/0.3563, allocations: 108.4 kB / 395.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004655/0.361, allocations: 3.119 MB / 398.8 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.3773, allocations: 10.41 MB / 409.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004811/0.3821, allocations: 4.574 MB / 413.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3836, allocations: 0.954 MB / 414.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004619/0.3882, allocations: 2.661 MB / 417.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.3883, allocations: 43.44 kB / 417.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.956e-06/0.3883, allocations: 3.656 kB / 417.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006638/0.395, allocations: 2.711 MB / 420.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.395, allocations: 89.73 kB / 420.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.3978, allocations: 1.4 MB / 421.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.398, allocations: 49.64 kB / 421.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000913/0.3989, allocations: 1.176 MB / 422.9 MB, free: 7.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.3992, allocations: 356.9 kB / 423.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.3994, allocations: 105.7 kB / 423.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3995, allocations: 353.9 kB / 423.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.4006, allocations: 0.5764 MB / 424.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.4018, allocations: 0.8679 MB / 425.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.404, allocations: 1.476 MB / 426.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.404, allocations: 0 / 426.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003663/0.4077, allocations: 1.994 MB / 428.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4077, allocations: 8 kB / 428.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.4078, allocations: 8 kB / 428.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4089, allocations: 404.4 kB / 429 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.4097, allocations: 225.8 kB / 429.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007549/0.4173, allocations: 5.993 MB / 435.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4187, allocations: 150.7 kB / 435.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.4189, allocations: 47.94 kB / 435.4 MB, free: 10.91 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.002033/0.4209, allocations: 0.8785 MB / 436.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.4214, allocations: 138.3 kB / 436.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.425, allocations: 1.677 MB / 438.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.425, allocations: 15.94 kB / 438.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.4251, allocations: 4 kB / 438.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4251, allocations: 3.984 kB / 438.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008478/0.4336, allocations: 3.953 MB / 442.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4336, allocations: 8 kB / 442.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.4342, allocations: 135.6 kB / 442.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.4354, allocations: 393.1 kB / 442.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.4355, allocations: 31.98 kB / 442.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/0.4429, allocations: 5.972 MB / 448.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.443, allocations: 7.656 kB / 448.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.4471, allocations: 2.516 MB / 451.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.4478, allocations: 247.2 kB / 451.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.4483, allocations: 24 kB / 451.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.4493, allocations: 99.91 kB / 451.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.4496, allocations: 100.3 kB / 451.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.4497, allocations: 35.92 kB / 451.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.4516, allocations: 0.9834 MB / 452.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4516, allocations: 0 / 452.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002316/0.4539, allocations: 0.6804 MB / 453.3 MB, free: 8.715 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.000369/0.4543, allocations: 144.1 kB / 453.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.4575, allocations: 1.803 MB / 455.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4575, allocations: 0 / 455.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.4594, allocations: 1.156 MB / 456.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.462, allocations: 292.5 kB / 456.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.473, allocations: 5.814 MB / 462.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003029/0.4761, allocations: 2.128 MB / 464.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.4767, allocations: 99.41 kB / 464.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4767, allocations: 0 / 464.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of Templates: time 0.07628/0.553, allocations: 52.77 MB / 0.5054 GB, free: 8.48 MB / 430.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 -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