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.001319/0.001319, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 198.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2213, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00829/0.2297, allocations: 7.844 MB / 417.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.234, allocations: 2.476 MB / 420.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005804/0.2346, allocations: 59.75 kB / 420.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000846/0.2355, allocations: 444.9 kB / 420.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.2374, allocations: 0.8504 MB / 421.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.2383, allocations: 399.2 kB / 422 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.2415, allocations: 3.246 MB / 425.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.2444, allocations: 2.899 MB / 428.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.2458, allocations: 1.425 MB / 429.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.2476, allocations: 1.697 MB / 431.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.248, allocations: 360 kB / 431.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/0.2489, allocations: 499.8 kB / 432.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007124/0.2496, allocations: 0.8998 MB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.2511, allocations: 1.618 MB / 434.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.2548, allocations: 4.694 MB / 439.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2548, allocations: 0 / 439.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2548, allocations: 0 / 439.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.654e-05/0.2549, allocations: 4 kB / 439.3 MB, free: 4.047 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007242/0.2621, allocations: 3.652 MB / 443 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2622, allocations: 12.03 kB / 443 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.2661, allocations: 0.7429 MB / 443.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.2694, allocations: 1.843 MB / 445.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.2696, allocations: 201.7 kB / 445.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/0.27, allocations: 268 kB / 446 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/0.2752, allocations: 3.611 MB / 449.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.2753, allocations: 3.938 kB / 449.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.2756, allocations: 108 kB / 449.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/0.2757, allocations: 109.4 kB / 449.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00464/0.2803, allocations: 3.089 MB / 452.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.2944, allocations: 10.22 MB / 463.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.2992, allocations: 4.576 MB / 467.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3006, allocations: 0.9424 MB / 468.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003692/0.3043, allocations: 2.639 MB / 471.3 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.3043, allocations: 47.38 kB / 471.4 MB, free: 2.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.535e-06/0.3043, allocations: 0 / 471.4 MB, free: 2.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005838/0.3102, allocations: 2.649 MB / 474 MB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3103, allocations: 93.98 kB / 474.1 MB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.3119, allocations: 1.4 MB / 475.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.312, allocations: 49.64 kB / 475.6 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007452/0.3128, allocations: 1.168 MB / 476.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.313, allocations: 362.8 kB / 477.1 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.3134, allocations: 214.9 kB / 477.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3135, allocations: 357.9 kB / 477.6 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/0.3144, allocations: 0.5647 MB / 478.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3155, allocations: 0.8491 MB / 479.1 MB, free: 10.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.3174, allocations: 1.461 MB / 480.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3174, allocations: 0 / 480.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003053/0.3205, allocations: 1.964 MB / 482.5 MB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3205, allocations: 8 kB / 482.5 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3206, allocations: 8 kB / 482.5 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009125/0.3215, allocations: 401.2 kB / 482.9 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.3223, allocations: 219.6 kB / 483.1 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.3292, allocations: 6.536 MB / 489.6 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.3301, allocations: 130.8 kB / 489.8 MB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.3302, allocations: 55.92 kB / 489.8 MB, free: 15.55 MB / 414.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.001197/0.3314, allocations: 0.872 MB / 490.7 MB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.3316, allocations: 138.3 kB / 490.8 MB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.3343, allocations: 1.66 MB / 492.5 MB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.3343, allocations: 7.984 kB / 492.5 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3343, allocations: 0 / 492.5 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.3346, allocations: 235.2 kB / 492.7 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.3348, allocations: 24 kB / 492.7 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.3355, allocations: 91.84 kB / 492.8 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3357, allocations: 104.7 kB / 492.9 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003267/0.3389, allocations: 1.814 MB / 494.8 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002702/0.3417, allocations: 2.122 MB / 496.9 MB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000784/0.3425, allocations: 0.5805 MB / 497.5 MB, free: 7.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.3436, allocations: 0.9795 MB / 498.4 MB, free: 6.852 MB / 414.1 MB Notification: Performance of Backend: time 3.21e-07/0.3436, allocations: 4 kB / 498.4 MB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.3463, allocations: 1.488 MB / 499.9 MB, free: 5.324 MB / 414.1 MB Notification: Performance of SimCode: time 0.006837/0.3532, allocations: 5.138 MB / 0.4932 GB, free: 124 kB / 414.1 MB Notification: Performance of Templates: time 0.03657/0.3898, allocations: 23.5 MB / 0.5162 GB, free: 8.828 MB / 446.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