Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009851/0.0009851, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 229.5 MB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000786/0.000786, allocations: 100.4 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002182, allocations: 8 kB / 360.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1954, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005092/0.2005, allocations: 6.823 MB / 418.9 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.2042, allocations: 3.545 MB / 422.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.2049, allocations: 51.81 kB / 422.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.2056, allocations: 377.9 kB / 422.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.2072, allocations: 1.075 MB / 423.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.2079, allocations: 424.6 kB / 424.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.2104, allocations: 3.524 MB / 427.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.2123, allocations: 2.408 MB / 430.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000973/0.2133, allocations: 1.046 MB / 431.3 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.2144, allocations: 1.365 MB / 432.7 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.2146, allocations: 152 kB / 432.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.2152, allocations: 291.7 kB / 433.1 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.2156, allocations: 0.6382 MB / 433.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009656/0.2166, allocations: 1.354 MB / 435.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.2197, allocations: 4.381 MB / 439.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2197, allocations: 0 / 439.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2197, allocations: 0 / 439.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.394e-05/0.2198, allocations: 4 kB / 439.5 MB, free: 13.92 MB / 314.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.006556/0.2264, allocations: 3.138 MB / 442.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2264, allocations: 8.031 kB / 442.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003883/0.2303, allocations: 0.7624 MB / 443.4 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.2332, allocations: 1.745 MB / 445.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.2334, allocations: 197.7 kB / 445.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.2338, allocations: 268 kB / 445.6 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006013/0.2398, allocations: 3.599 MB / 449.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.2399, allocations: 3.938 kB / 449.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.2401, allocations: 112 kB / 449.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.874e-05/0.2402, allocations: 105.4 kB / 449.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005597/0.2458, allocations: 3.105 MB / 452.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.2612, allocations: 10.41 MB / 462.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.2655, allocations: 4.574 MB / 467.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.2669, allocations: 0.9503 MB / 468.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00382/0.2707, allocations: 2.654 MB / 471.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2708, allocations: 47.44 kB / 471.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.696e-06/0.2708, allocations: 0 / 471.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.005928/0.2767, allocations: 2.711 MB / 473.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.2768, allocations: 85.98 kB / 473.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.2786, allocations: 1.379 MB / 475.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.2786, allocations: 41.7 kB / 475.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007404/0.2794, allocations: 1.164 MB / 476.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.2796, allocations: 358.8 kB / 476.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.2797, allocations: 24 kB / 476.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2798, allocations: 353.9 kB / 477.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/0.2807, allocations: 0.5763 MB / 477.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.2818, allocations: 0.8645 MB / 478.7 MB, free: 5.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.2837, allocations: 1.465 MB / 480.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.2838, allocations: 4 kB / 480.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003151/0.2869, allocations: 1.984 MB / 482.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.287, allocations: 11.98 kB / 482.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.287, allocations: 8 kB / 482.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009453/0.288, allocations: 398 kB / 482.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/0.2888, allocations: 219.7 kB / 482.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006782/0.2956, allocations: 5.982 MB / 488.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.2966, allocations: 142.7 kB / 488.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.2967, allocations: 44.06 kB / 488.9 MB, free: 10.5 MB / 362.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.001441/0.2982, allocations: 0.8759 MB / 489.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.2984, allocations: 146.2 kB / 489.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.3013, allocations: 1.663 MB / 491.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3013, allocations: 19.97 kB / 491.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3013, allocations: 8 kB / 491.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3014, allocations: 7.984 kB / 491.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005776/0.3071, allocations: 3.93 MB / 495.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3072, allocations: 3.938 kB / 495.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.3077, allocations: 135.8 kB / 495.7 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008564/0.3086, allocations: 392.5 kB / 496.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.3087, allocations: 35.97 kB / 496.1 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006434/0.3151, allocations: 5.978 MB / 0.4903 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3151, allocations: 7.938 kB / 0.4903 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/0.3187, allocations: 2.504 MB / 0.4928 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.3191, allocations: 243.3 kB / 0.493 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.3192, allocations: 24 kB / 0.493 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.32, allocations: 96 kB / 0.4931 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.3202, allocations: 100.7 kB / 0.4932 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.649e-05/0.3203, allocations: 35.98 kB / 0.4933 GB, free: 9.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001228/0.3215, allocations: 0.9556 MB / 0.4942 GB, free: 8.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3215, allocations: 4 kB / 0.4942 GB, free: 8.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001624/0.3231, allocations: 0.6804 MB / 0.4949 GB, free: 8.227 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.0002577/0.3234, allocations: 159.1 kB / 0.495 GB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.3262, allocations: 1.789 MB / 0.4968 GB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3262, allocations: 0 / 0.4968 GB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.3279, allocations: 1.145 MB / 0.4979 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3296, allocations: 296.3 kB / 0.4982 GB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1602/0.4898, allocations: 5.817 MB / 0.5039 GB, free: 88.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.4917, allocations: 2.183 MB / 0.506 GB, free: 88.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.4927, allocations: 350.2 kB / 0.5063 GB, free: 87.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.4929, allocations: 82.06 kB / 0.5064 GB, free: 87.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4929, allocations: 0 / 0.5064 GB, free: 87.99 MB / 378.7 MB Notification: Performance of Templates: time 0.03151/0.5245, allocations: 19.4 MB / 0.5253 GB, free: 76.5 MB / 378.7 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","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches