Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 107.6 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007536/0.0007536, allocations: 47.94 kB / 327.2 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2096, allocations: 46.61 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01269/0.2223, allocations: 16.25 MB / 390.1 MB, free: 32.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.2306, allocations: 4.639 MB / 394.7 MB, free: 28.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.2329, allocations: 107.7 kB / 394.8 MB, free: 28.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.2434, allocations: 6.794 MB / 401.6 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.2474, allocations: 1.709 MB / 403.3 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.2499, allocations: 1.539 MB / 404.9 MB, free: 18.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006946/0.2569, allocations: 9.631 MB / 414.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0198/0.2767, allocations: 17.64 MB / 432.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007084/0.2838, allocations: 4.682 MB / 436.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007215/0.2911, allocations: 5.719 MB / 442.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.2927, allocations: 1.008 MB / 443.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.2954, allocations: 1.289 MB / 444.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.2972, allocations: 2.419 MB / 447.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005155/0.3024, allocations: 4.983 MB / 452.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.3178, allocations: 17.83 MB / 470.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3179, allocations: 0 / 470.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3179, allocations: 0 / 470.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003895/0.3183, allocations: 0 / 470.1 MB, free: 0.9023 MB / 346.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.02972/0.348, allocations: 12.22 MB / 482.3 MB, free: 4.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3481, allocations: 8.031 kB / 482.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03011/0.3782, allocations: 6.19 MB / 488.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.3895, allocations: 5.16 MB / 493.6 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006011/0.3901, allocations: 0.6665 MB / 494.3 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/0.3929, allocations: 0.8826 MB / 495.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2852/0.6781, allocations: 14.74 MB / 0.498 GB, free: 91.69 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.6783, allocations: 9.672 kB / 0.498 GB, free: 91.69 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007693/0.6791, allocations: 373.7 kB / 0.4983 GB, free: 91.41 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.6795, allocations: 0.4908 MB / 0.4988 GB, free: 91.36 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.6993, allocations: 13.55 MB / 0.5121 GB, free: 85.29 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05348/0.7529, allocations: 44.61 MB / 0.5556 GB, free: 42.4 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008915/0.7618, allocations: 11.71 MB / 0.5671 GB, free: 29.6 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.7653, allocations: 3.229 MB / 0.5702 GB, free: 26.37 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.7656, allocations: 177.2 kB / 0.5704 GB, free: 26.19 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.7657, allocations: 86.48 kB / 0.5705 GB, free: 26.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 6.582e-06/0.7657, allocations: 0 / 0.5705 GB, free: 26.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.01642/0.7822, allocations: 9.714 MB / 0.58 GB, free: 16.34 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.7822, allocations: 125.1 kB / 0.5801 GB, free: 16.2 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/0.7867, allocations: 3.148 MB / 0.5832 GB, free: 13.03 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.7869, allocations: 89.7 kB / 0.5832 GB, free: 12.93 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.7883, allocations: 3.684 MB / 0.5868 GB, free: 9.227 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008443/0.7892, allocations: 1.432 MB / 0.5882 GB, free: 7.809 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.7908, allocations: 1.14 MB / 0.5893 GB, free: 6.656 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.7908, allocations: 305.1 kB / 0.5896 GB, free: 6.355 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/0.7941, allocations: 2.908 MB / 0.5925 GB, free: 3.441 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/0.7986, allocations: 4.985 MB / 0.5973 GB, free: 13.52 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009519/0.8081, allocations: 8.412 MB / 0.6056 GB, free: 4.145 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/0.8082, allocations: 20 kB / 0.6056 GB, free: 4.125 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01418/0.8224, allocations: 9.235 MB / 0.6146 GB, free: 10.84 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.8225, allocations: 32 kB / 0.6146 GB, free: 10.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.8226, allocations: 68 kB / 0.6147 GB, free: 10.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/0.8257, allocations: 1.123 MB / 0.6158 GB, free: 9.609 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/0.8297, allocations: 1.291 MB / 0.617 GB, free: 8.316 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.8426, allocations: 9.929 MB / 0.6267 GB, free: 14.12 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/0.8464, allocations: 0.7395 MB / 0.6275 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007484/0.8472, allocations: 280 kB / 0.6277 GB, free: 13.1 MB / 426.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.005437/0.8527, allocations: 3.423 MB / 0.6311 GB, free: 9.66 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008517/0.8535, allocations: 351.6 kB / 0.6314 GB, free: 9.312 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.8652, allocations: 7.05 MB / 0.6383 GB, free: 2.199 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008291/0.8735, allocations: 5.874 MB / 0.644 GB, free: 12.28 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-05/0.8735, allocations: 12 kB / 0.644 GB, free: 12.27 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/0.8736, allocations: 19.92 kB / 0.6441 GB, free: 12.25 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1816/1.055, allocations: 15.54 MB / 0.6592 GB, free: 140.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.055, allocations: 15.08 kB / 0.6593 GB, free: 140.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/1.058, allocations: 0.7952 MB / 0.66 GB, free: 140.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/1.061, allocations: 1.026 MB / 0.661 GB, free: 140.9 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003236/1.061, allocations: 114.3 kB / 0.6611 GB, free: 140.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.072, allocations: 9.664 MB / 0.6706 GB, free: 136.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/1.072, allocations: 22.12 kB / 0.6706 GB, free: 136.1 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/1.091, allocations: 17.26 MB / 0.6875 GB, free: 128.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.092, allocations: 0.9993 MB / 0.6884 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.093, allocations: 96.47 kB / 0.6885 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.095, allocations: 276.8 kB / 0.6888 GB, free: 127.7 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/1.095, allocations: 345.2 kB / 0.6891 GB, free: 127.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.096, allocations: 144.5 kB / 0.6893 GB, free: 127.6 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002169/1.098, allocations: 2.124 MB / 0.6913 GB, free: 126.9 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.098, allocations: 0 / 0.6913 GB, free: 126.9 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004608/1.102, allocations: 2.393 MB / 0.6937 GB, free: 125.9 MB / 442.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.0004943/1.103, allocations: 297.7 kB / 0.6939 GB, free: 125.7 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008816/1.112, allocations: 7.579 MB / 0.7013 GB, free: 119.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.112, allocations: 0 / 0.7013 GB, free: 119.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004532/1.116, allocations: 3.725 MB / 0.705 GB, free: 115.9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.12, allocations: 0.7601 MB / 0.7057 GB, free: 115.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/1.144, allocations: 22.52 MB / 0.7277 GB, free: 92.77 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00663/1.151, allocations: 6.056 MB / 0.7336 GB, free: 86.67 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004916/1.156, allocations: 2.158 MB / 0.7357 GB, free: 84.51 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000855/1.157, allocations: 323.4 kB / 0.736 GB, free: 84.19 MB / 442.8 MB Notification: Performance of SimCode: time 1.132e-06/1.157, allocations: 0 / 0.736 GB, free: 84.19 MB / 442.8 MB Notification: Performance of Templates: time 0.08209/1.239, allocations: 61.3 MB / 0.7959 GB, free: 22.93 MB / 442.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches