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.001056/0.001057, allocations: 109.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001233, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.31 kB / 306.4 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08199/0.08317, allocations: 50.53 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007891/0.09108, allocations: 7.79 MB / 364.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.09487, allocations: 2.437 MB / 367.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.09541, allocations: 55.81 kB / 367.3 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.09623, allocations: 382 kB / 367.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.09794, allocations: 0.7738 MB / 368.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.09867, allocations: 358.2 kB / 368.8 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1594/0.2581, allocations: 3.224 MB / 372 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004404/0.2626, allocations: 2.897 MB / 374.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.2645, allocations: 1.423 MB / 376.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.2671, allocations: 1.74 MB / 378 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.2682, allocations: 358.2 kB / 378.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.2694, allocations: 491.8 kB / 378.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007186/0.2702, allocations: 0.9064 MB / 379.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.2718, allocations: 1.615 MB / 381.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.2762, allocations: 4.653 MB / 386 MB, free: 5.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2762, allocations: 3.891 kB / 386 MB, free: 5.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2762, allocations: 0 / 386 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.2764, allocations: 5.344 kB / 386.1 MB, free: 5.824 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.00922/0.2856, allocations: 3.652 MB / 389.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2857, allocations: 9.5 kB / 389.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/0.2898, allocations: 0.747 MB / 390.5 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.2927, allocations: 1.785 MB / 392.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.2928, allocations: 198.3 kB / 392.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.2932, allocations: 269 kB / 392.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005509/0.2988, allocations: 3.615 MB / 396.3 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.2988, allocations: 0 / 396.3 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.2991, allocations: 108.8 kB / 396.4 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.546e-05/0.2992, allocations: 108.4 kB / 396.5 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004919/0.3041, allocations: 3.09 MB / 399.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.3194, allocations: 10.34 MB / 410 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/0.3239, allocations: 4.567 MB / 414.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3253, allocations: 0.9373 MB / 415.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003752/0.329, allocations: 2.653 MB / 418.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3291, allocations: 43.44 kB / 418.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.444e-06/0.3291, allocations: 0 / 418.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006038/0.3351, allocations: 2.658 MB / 420.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3352, allocations: 92.23 kB / 420.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.337, allocations: 1.396 MB / 422.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.3371, allocations: 45.69 kB / 422.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/0.3379, allocations: 1.175 MB / 423.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.3381, allocations: 355.5 kB / 423.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.3385, allocations: 226.8 kB / 424.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3386, allocations: 357.9 kB / 424.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/0.3395, allocations: 0.5608 MB / 425 MB, free: 4.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3405, allocations: 0.8455 MB / 425.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.3425, allocations: 1.462 MB / 427.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.3425, allocations: 7.188 kB / 427.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003122/0.3457, allocations: 1.963 MB / 429.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3457, allocations: 8 kB / 429.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.3457, allocations: 16 kB / 429.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009872/0.3467, allocations: 399.6 kB / 429.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.3475, allocations: 224.2 kB / 429.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/0.3547, allocations: 6.528 MB / 436.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.3557, allocations: 138.3 kB / 436.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.3558, allocations: 51.98 kB / 436.6 MB, free: 8.078 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.001466/0.3573, allocations: 0.867 MB / 437.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.3576, allocations: 138.3 kB / 437.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.3604, allocations: 1.653 MB / 439.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.3604, allocations: 12 kB / 439.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3604, allocations: 8 kB / 439.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.3605, allocations: 7.984 kB / 439.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/0.3664, allocations: 3.926 MB / 443.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3664, allocations: 4 kB / 443.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.367, allocations: 126.8 kB / 443.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009009/0.3679, allocations: 406.9 kB / 443.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/0.368, allocations: 27.98 kB / 443.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006929/0.375, allocations: 6.517 MB / 450.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.375, allocations: 7.938 kB / 450.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.3788, allocations: 2.478 MB / 452.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/0.3793, allocations: 247.2 kB / 453 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.3796, allocations: 27.98 kB / 453.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.3804, allocations: 79.92 kB / 453.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.3806, allocations: 100.7 kB / 453.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.3807, allocations: 31.98 kB / 453.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.3822, allocations: 0.9834 MB / 454.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3822, allocations: 0 / 454.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001995/0.3842, allocations: 0.6727 MB / 454.9 MB, free: 5.461 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.0003448/0.3846, allocations: 156.4 kB / 455.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.388, allocations: 1.93 MB / 457 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.388, allocations: 0 / 457 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.3899, allocations: 1.138 MB / 458.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.3916, allocations: 309.7 kB / 458.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008909/0.4005, allocations: 5.766 MB / 464.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/0.403, allocations: 2.192 MB / 466.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.4042, allocations: 339 kB / 466.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.4045, allocations: 87.42 kB / 466.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4045, allocations: 0 / 466.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of Templates: time 0.03548/0.44, allocations: 20.45 MB / 487.3 MB, free: 5.289 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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