Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.0009574/0.0009571, allocations: 180.5 kB / 16.71 MB, free: 4.84 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.222/1.222, allocations: 225.7 MB / 243.2 MB, free: 8.461 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.0007942/0.0007942, allocations: 97.2 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002342, allocations: 15.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2066, allocations: 50.4 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01018/0.2169, allocations: 14.42 MB / 419 MB, free: 16.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007721/0.2246, allocations: 6.084 MB / 425.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.2273, allocations: 123.6 kB / 425.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.2299, allocations: 1.163 MB / 426.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.2352, allocations: 2.313 MB / 428.7 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.2383, allocations: 2.309 MB / 431 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.2484, allocations: 9.508 MB / 440.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03748/0.2859, allocations: 26.42 MB / 466.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006368/0.2923, allocations: 3.866 MB / 470.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006652/0.299, allocations: 4.56 MB / 475.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00196/0.301, allocations: 0.5625 MB / 475.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.3047, allocations: 0.8357 MB / 476.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.3072, allocations: 1.79 MB / 478.5 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006646/0.3138, allocations: 4.262 MB / 482.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.3313, allocations: 17.26 MB / 0.4883 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3314, allocations: 0 / 0.4883 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3314, allocations: 0 / 0.4883 GB, free: 13.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000458/0.3318, allocations: 0 / 0.4883 GB, free: 13.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02588/0.3577, allocations: 10.27 MB / 0.4984 GB, free: 3.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3578, allocations: 16.02 kB / 0.4984 GB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3381/0.6959, allocations: 6.209 MB / 0.5045 GB, free: 83.29 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/0.7057, allocations: 5.665 MB / 0.51 GB, free: 80.71 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006158/0.7063, allocations: 0.6798 MB / 0.5106 GB, free: 80.4 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002566/0.7089, allocations: 0.8758 MB / 0.5115 GB, free: 80.12 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/0.7359, allocations: 14.67 MB / 0.5258 GB, free: 69.38 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/0.7362, allocations: 11.98 kB / 0.5258 GB, free: 69.37 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.7373, allocations: 379.4 kB / 0.5262 GB, free: 69.01 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/0.7377, allocations: 495.3 kB / 0.5267 GB, free: 68.52 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/0.7587, allocations: 13.5 MB / 0.5399 GB, free: 55 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05937/0.8181, allocations: 44.73 MB / 0.5835 GB, free: 9.5 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00971/0.8279, allocations: 11.68 MB / 0.5949 GB, free: 12.71 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004583/0.8325, allocations: 3.216 MB / 0.5981 GB, free: 9.504 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.8329, allocations: 182.9 kB / 0.5983 GB, free: 9.32 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.8329, allocations: 82.56 kB / 0.5983 GB, free: 9.23 MB / 394.8 MB Notification: Performance of pre-optimization done (n=421): time 6.703e-06/0.8329, allocations: 0 / 0.5983 GB, free: 9.23 MB / 394.8 MB Notification: Performance of matching and sorting (n=421): time 0.02015/0.8531, allocations: 9.713 MB / 0.6078 GB, free: 15.47 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.8532, allocations: 125.1 kB / 0.6079 GB, free: 15.33 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/0.8587, allocations: 3.132 MB / 0.611 GB, free: 12.18 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005471/0.8592, allocations: 93.7 kB / 0.6111 GB, free: 12.08 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.8617, allocations: 3.675 MB / 0.6147 GB, free: 8.383 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001711/0.8634, allocations: 1.434 MB / 0.6161 GB, free: 6.961 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006267/0.8641, allocations: 120 kB / 0.6162 GB, free: 6.844 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004265/0.8645, allocations: 0.5381 MB / 0.6167 GB, free: 6.297 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/0.8691, allocations: 2.892 MB / 0.6195 GB, free: 3.398 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/0.8749, allocations: 4.951 MB / 0.6244 GB, free: 13.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.8858, allocations: 8.369 MB / 0.6326 GB, free: 4.176 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.37e-05/0.8859, allocations: 16 kB / 0.6326 GB, free: 4.16 MB / 426.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01945/0.9054, allocations: 9.199 MB / 0.6415 GB, free: 10.91 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.9055, allocations: 36.03 kB / 0.6416 GB, free: 10.88 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.9056, allocations: 68 kB / 0.6416 GB, free: 10.81 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/0.9089, allocations: 1.117 MB / 0.6427 GB, free: 9.688 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/0.9138, allocations: 1.291 MB / 0.644 GB, free: 8.395 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.9283, allocations: 9.919 MB / 0.6537 GB, free: 14.21 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/0.9332, allocations: 0.7355 MB / 0.6544 GB, free: 13.47 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/0.9346, allocations: 287.8 kB / 0.6547 GB, free: 13.19 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006637/0.9412, allocations: 3.423 MB / 0.658 GB, free: 9.746 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/0.9424, allocations: 351.7 kB / 0.6584 GB, free: 9.398 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.9561, allocations: 7.007 MB / 0.6652 GB, free: 2.328 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2042/1.16, allocations: 5.841 MB / 0.6709 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.404e-05/1.16, allocations: 15.09 kB / 0.6709 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.359e-05/1.16, allocations: 24.98 kB / 0.6709 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/1.184, allocations: 15.52 MB / 0.6861 GB, free: 139.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/1.184, allocations: 14.38 kB / 0.6861 GB, free: 139.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/1.187, allocations: 0.7876 MB / 0.6869 GB, free: 139 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/1.189, allocations: 1.029 MB / 0.6879 GB, free: 138.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/1.19, allocations: 109.8 kB / 0.688 GB, free: 138.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/1.2, allocations: 9.679 MB / 0.6974 GB, free: 133.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.2, allocations: 18.44 kB / 0.6975 GB, free: 133.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.214, allocations: 10.88 MB / 0.7081 GB, free: 126.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/1.217, allocations: 1.011 MB / 0.7091 GB, free: 125.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008555/1.218, allocations: 95.98 kB / 0.7092 GB, free: 125.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.22, allocations: 280.7 kB / 0.7094 GB, free: 124.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000613/1.221, allocations: 341.2 kB / 0.7098 GB, free: 124.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.221, allocations: 148 kB / 0.7099 GB, free: 124.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002523/1.224, allocations: 2.099 MB / 0.712 GB, free: 122.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.41e-07/1.224, allocations: 0 / 0.712 GB, free: 122.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005299/1.229, allocations: 2.233 MB / 0.7141 GB, free: 120 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007134/1.23, allocations: 306.3 kB / 0.7144 GB, free: 119.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009853/1.239, allocations: 7.549 MB / 0.7218 GB, free: 112.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.24, allocations: 0.9375 kB / 0.7218 GB, free: 112.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00577/1.245, allocations: 3.713 MB / 0.7254 GB, free: 108.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008056/1.253, allocations: 0.7666 MB / 0.7262 GB, free: 107.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/1.278, allocations: 20.01 MB / 0.7457 GB, free: 87.41 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006061/1.285, allocations: 5.934 MB / 0.7515 GB, free: 81.44 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005873/1.29, allocations: 2.154 MB / 0.7536 GB, free: 79.28 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/1.292, allocations: 323.4 kB / 0.7539 GB, free: 78.96 MB / 458.8 MB Notification: Performance of SimCode: time 1.733e-06/1.292, allocations: 0 / 0.7539 GB, free: 78.96 MB / 458.8 MB Notification: Performance of Templates: time 0.08922/1.381, allocations: 58.54 MB / 0.8111 GB, free: 20.74 MB / 458.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches