Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000951/0.000951, allocations: 180 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 225.7 MB / 243.2 MB, free: 8.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007334/0.0007334, allocations: 95.45 kB / 294.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.0002593, allocations: 8 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1989, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.004691/0.2036, allocations: 6.3 MB / 410.9 MB, free: 25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.2073, allocations: 2.918 MB / 413.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.208, allocations: 51.75 kB / 413.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.2087, allocations: 377.2 kB / 414.2 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.2103, allocations: 1.182 MB / 415.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.2109, allocations: 396.7 kB / 415.8 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.2133, allocations: 3.449 MB / 419.2 MB, free: 16.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.2151, allocations: 2.401 MB / 421.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009335/0.2161, allocations: 1.039 MB / 422.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000983/0.2171, allocations: 1.365 MB / 424 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.2173, allocations: 156 kB / 424.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.2178, allocations: 271.9 kB / 424.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.2182, allocations: 0.642 MB / 425.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008471/0.2191, allocations: 1.346 MB / 426.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.2214, allocations: 4.368 MB / 430.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2214, allocations: 0 / 430.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2214, allocations: 0 / 430.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.018e-05/0.2214, allocations: 0 / 430.8 MB, free: 4.645 MB / 298.7 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.005694/0.2271, allocations: 3.127 MB / 433.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2272, allocations: 8.031 kB / 434 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.2303, allocations: 0.6882 MB / 434.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.2326, allocations: 1.741 MB / 436.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.2328, allocations: 197.7 kB / 436.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.2331, allocations: 268 kB / 436.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005333/0.2384, allocations: 3.61 MB / 440.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.2385, allocations: 0 / 440.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.2387, allocations: 112 kB / 440.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.301e-05/0.2388, allocations: 101.4 kB / 440.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.2437, allocations: 3.105 MB / 443.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.2583, allocations: 10.43 MB / 454.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.2627, allocations: 4.573 MB / 458.8 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2641, allocations: 0.9574 MB / 459.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003664/0.2677, allocations: 2.417 MB / 462.1 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.2678, allocations: 43.44 kB / 462.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.2678, allocations: 0 / 462.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.005917/0.2737, allocations: 2.704 MB / 464.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2738, allocations: 97.97 kB / 465 MB, free: 1.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.2755, allocations: 1.367 MB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.2755, allocations: 41.7 kB / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000728/0.2763, allocations: 1.164 MB / 467.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.2765, allocations: 358.8 kB / 467.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.2766, allocations: 24 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2767, allocations: 357.9 kB / 468.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/0.2776, allocations: 0.5686 MB / 468.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.2786, allocations: 0.853 MB / 469.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.2806, allocations: 1.481 MB / 471.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.2806, allocations: 4 kB / 471.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003227/0.2838, allocations: 1.976 MB / 473.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.2839, allocations: 8 kB / 473.2 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.2839, allocations: 8 kB / 473.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.2848, allocations: 406.6 kB / 473.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/0.2856, allocations: 223.7 kB / 473.8 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.2919, allocations: 5.985 MB / 479.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.293, allocations: 138.8 kB / 479.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.2932, allocations: 52 kB / 480 MB, free: 1.59 MB / 346.7 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.001507/0.2947, allocations: 0.8707 MB / 480.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.295, allocations: 142.3 kB / 481 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.2977, allocations: 1.66 MB / 482.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2978, allocations: 12 kB / 482.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2978, allocations: 11.94 kB / 482.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2978, allocations: 7.969 kB / 482.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005655/0.3035, allocations: 3.937 MB / 486.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3035, allocations: 4 kB / 486.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.304, allocations: 139.8 kB / 486.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008112/0.3048, allocations: 388.5 kB / 487.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.868e-05/0.3049, allocations: 35.97 kB / 487.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.3111, allocations: 5.969 MB / 493.1 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3112, allocations: 7.938 kB / 493.1 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/0.3147, allocations: 2.5 MB / 495.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.3151, allocations: 247.2 kB / 495.9 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.3153, allocations: 24 kB / 495.9 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/0.316, allocations: 99.91 kB / 496 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.3162, allocations: 96.61 kB / 496.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.3163, allocations: 35.98 kB / 496.1 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.3174, allocations: 0.9513 MB / 497.1 MB, free: 20 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3174, allocations: 0 / 497.1 MB, free: 20 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001581/0.319, allocations: 0.6727 MB / 497.7 MB, free: 15.34 MB / 378.7 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.0002679/0.3193, allocations: 163 kB / 497.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002662/0.322, allocations: 1.804 MB / 499.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.322, allocations: 0 / 499.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.3236, allocations: 1.142 MB / 0.4891 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.3251, allocations: 292.5 kB / 0.4894 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.3324, allocations: 5.8 MB / 0.495 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.334, allocations: 2.184 MB / 0.4972 GB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009879/0.335, allocations: 339 kB / 0.4975 GB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3353, allocations: 83.42 kB / 0.4976 GB, free: 3.383 MB / 378.7 MB Notification: Performance of SimCode: time 2.245e-06/0.3353, allocations: 0 / 0.4976 GB, free: 3.383 MB / 378.7 MB Notification: Performance of Templates: time 0.1913/0.5266, allocations: 19.36 MB / 0.5165 GB, free: 86.51 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches