Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001292/0.001292, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009358/0.0009358, allocations: 49.7 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0757/0.07665, allocations: 49.45 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007023/0.0837, allocations: 7.206 MB / 356.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.08713, allocations: 2.157 MB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.08788, allocations: 55.75 kB / 358.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.08871, allocations: 378 kB / 359.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.0904, allocations: 0.8282 MB / 360.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.091, allocations: 315.6 kB / 360.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.09376, allocations: 3.448 MB / 363.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.09594, allocations: 2.427 MB / 366.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.09693, allocations: 1.211 MB / 367.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.09833, allocations: 1.626 MB / 369.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.09864, allocations: 236 kB / 369.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.09927, allocations: 363.8 kB / 369.7 MB, free: 404 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1399/0.2392, allocations: 0.762 MB / 370.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.2411, allocations: 1.469 MB / 372 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.2468, allocations: 4.523 MB / 376.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2469, allocations: 0 / 376.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2469, allocations: 0 / 376.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001665/0.2471, allocations: 1.375 kB / 376.5 MB, free: 12.87 MB / 302.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.01111/0.2582, allocations: 3.613 MB / 380.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2582, allocations: 13 kB / 380.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008218/0.2591, allocations: 447.2 kB / 380.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.2627, allocations: 0.6863 MB / 381.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.2655, allocations: 1.741 MB / 383 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.2657, allocations: 197.8 kB / 383.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.2661, allocations: 264 kB / 383.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/0.2717, allocations: 3.622 MB / 387.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.2718, allocations: 2.969 kB / 387.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.272, allocations: 107 kB / 387.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.2721, allocations: 107.5 kB / 387.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.2766, allocations: 3.103 MB / 390.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.2892, allocations: 10.37 MB / 400.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.2937, allocations: 4.571 MB / 405.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.295, allocations: 0.9539 MB / 406.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003756/0.2988, allocations: 2.398 MB / 408.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2988, allocations: 43.44 kB / 408.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.406e-06/0.2989, allocations: 4 kB / 408.7 MB, free: 8 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005734/0.3046, allocations: 2.647 MB / 411.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3047, allocations: 92.8 kB / 411.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.3064, allocations: 1.378 MB / 412.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.387e-05/0.3065, allocations: 45.7 kB / 412.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/0.3073, allocations: 1.167 MB / 414 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.3076, allocations: 357.6 kB / 414.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/0.3079, allocations: 218.8 kB / 414.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3081, allocations: 353.9 kB / 414.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.3089, allocations: 0.5608 MB / 415.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.31, allocations: 0.8481 MB / 416.3 MB, free: 164 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.3119, allocations: 1.458 MB / 417.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.312, allocations: 4 kB / 417.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003/0.315, allocations: 1.963 MB / 419.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.315, allocations: 9.562 kB / 419.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.315, allocations: 8 kB / 419.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009127/0.3159, allocations: 398.3 kB / 420.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.3167, allocations: 216.9 kB / 420.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/0.3232, allocations: 5.977 MB / 426.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.3241, allocations: 142.7 kB / 426.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.3242, allocations: 47.98 kB / 426.6 MB, free: 5.695 MB / 334.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.001408/0.3256, allocations: 0.8742 MB / 427.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.3258, allocations: 138.3 kB / 427.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.3285, allocations: 1.646 MB / 429.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3286, allocations: 15.98 kB / 429.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3286, allocations: 4 kB / 429.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3286, allocations: 7.984 kB / 429.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/0.3343, allocations: 3.915 MB / 433.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3343, allocations: 8.188 kB / 433.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.3348, allocations: 133.5 kB / 433.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008739/0.3357, allocations: 397.2 kB / 433.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.3358, allocations: 31.98 kB / 433.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006288/0.3421, allocations: 5.966 MB / 439.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3421, allocations: 10.56 kB / 439.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.3458, allocations: 2.479 MB / 442.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.3463, allocations: 239.2 kB / 442.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.3465, allocations: 24.09 kB / 442.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.3472, allocations: 87.91 kB / 442.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.3474, allocations: 108.6 kB / 442.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.3475, allocations: 24 kB / 442.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.349, allocations: 0.963 MB / 443.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.349, allocations: 0 / 443.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002058/0.351, allocations: 0.6727 MB / 444.3 MB, free: 3.672 MB / 350.1 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.004323/0.3554, allocations: 3.079 MB / 447.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.3584, allocations: 1.779 MB / 449.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3584, allocations: 0 / 449.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.3602, allocations: 1.124 MB / 450.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.362, allocations: 294.4 kB / 450.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/0.3869, allocations: 18.06 MB / 468.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.3886, allocations: 2.18 MB / 470.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009738/0.3896, allocations: 343 kB / 471.1 MB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009562/0.3905, allocations: 0.8664 MB / 472 MB, free: 7.227 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3906, allocations: 0 / 472 MB, free: 7.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.798/2.188, allocations: 36.67 MB / 0.4967 GB, free: 2.996 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/2.189, allocations: 251.9 kB / 0.497 GB, free: 2.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/5.113, allocations: 0 / 0.497 GB, free: 2.742 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches