Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 110.6 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08351, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1589/0.2424, allocations: 7.196 MB / 383 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.2461, allocations: 2.235 MB / 385.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.247, allocations: 45.59 kB / 385.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.2481, allocations: 440 kB / 385.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.2501, allocations: 0.873 MB / 386.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.2509, allocations: 375.2 kB / 387 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.254, allocations: 3.149 MB / 390.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.2566, allocations: 2.854 MB / 393 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.2583, allocations: 1.423 MB / 394.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.26, allocations: 1.686 MB / 396.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004564/0.2604, allocations: 358.9 kB / 396.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.2614, allocations: 478.2 kB / 396.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006955/0.2621, allocations: 0.9049 MB / 397.8 MB, free: 3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.2635, allocations: 1.607 MB / 399.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.2679, allocations: 4.653 MB / 404.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.268, allocations: 7.922 kB / 404.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.268, allocations: 0 / 404.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.821e-05/0.2681, allocations: 1.156 kB / 404.1 MB, free: 15.66 MB / 334.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.008306/0.2764, allocations: 3.623 MB / 407.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2764, allocations: 9 kB / 407.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.28, allocations: 0.6862 MB / 408.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.2829, allocations: 1.684 MB / 410.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.283, allocations: 205.3 kB / 410.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.2834, allocations: 261.5 kB / 410.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/0.2893, allocations: 3.62 MB / 414.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/0.2893, allocations: 0 / 414.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.2896, allocations: 119.9 kB / 414.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.2897, allocations: 101.4 kB / 414.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/0.2947, allocations: 3.093 MB / 417.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.3095, allocations: 10.35 MB / 427.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004801/0.3143, allocations: 4.678 MB / 432.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3156, allocations: 0.9498 MB / 433.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003654/0.3193, allocations: 2.46 MB / 435.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3194, allocations: 43.44 kB / 435.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.006e-06/0.3194, allocations: 4 kB / 435.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006321/0.3257, allocations: 2.7 MB / 438.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3258, allocations: 89.98 kB / 438.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3279, allocations: 1.374 MB / 440.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/0.3279, allocations: 41.7 kB / 440.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.3287, allocations: 1.168 MB / 441.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.329, allocations: 358.8 kB / 441.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.3293, allocations: 214.8 kB / 441.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3295, allocations: 361.9 kB / 442.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/0.3305, allocations: 0.5764 MB / 442.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.3316, allocations: 0.8608 MB / 443.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.3337, allocations: 1.492 MB / 445.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.567e-06/0.3337, allocations: 0 / 445.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003563/0.3373, allocations: 1.995 MB / 447.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3373, allocations: 8 kB / 447.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.3374, allocations: 11.94 kB / 447.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3384, allocations: 405.2 kB / 447.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/0.3393, allocations: 219.7 kB / 447.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007542/0.3468, allocations: 6.642 MB / 454.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3479, allocations: 138.8 kB / 454.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.348, allocations: 47.98 kB / 454.6 MB, free: 14.92 MB / 382.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.001474/0.3495, allocations: 0.872 MB / 455.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.3499, allocations: 134.4 kB / 455.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.353, allocations: 1.667 MB / 457.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.353, allocations: 11.97 kB / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.353, allocations: 0 / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.3535, allocations: 247.1 kB / 457.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.3538, allocations: 31.92 kB / 457.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.3546, allocations: 91.84 kB / 457.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.3549, allocations: 104.7 kB / 457.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003728/0.3586, allocations: 1.889 MB / 459.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00307/0.3617, allocations: 2.2 MB / 461.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000868/0.3626, allocations: 0.604 MB / 462.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.364, allocations: 0.9668 MB / 463.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.364, allocations: 4 kB / 463.4 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003166/0.3672, allocations: 1.501 MB / 464.9 MB, free: 4.484 MB / 382.1 MB Notification: Performance of SimCode: time 0.00832/0.3756, allocations: 5.089 MB / 470 MB, free: 15.33 MB / 398.1 MB Notification: Performance of Templates: time 0.03993/0.4155, allocations: 23.97 MB / 494 MB, free: 7.312 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches