Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001087/0.001087, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.31 kB / 307.1 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09657, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009598/0.1062, allocations: 7.842 MB / 365.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.1109, allocations: 2.476 MB / 367.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.1121, allocations: 59.75 kB / 368 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1133, allocations: 456.9 kB / 368.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.1165, allocations: 0.8392 MB / 369.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1178, allocations: 409.9 kB / 369.6 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1688/0.2866, allocations: 3.22 MB / 372.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/0.2912, allocations: 2.906 MB / 375.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.2937, allocations: 1.411 MB / 377.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.2966, allocations: 1.701 MB / 378.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.298, allocations: 358.8 kB / 379.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.3, allocations: 490.4 kB / 379.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.3015, allocations: 0.9051 MB / 380.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.3042, allocations: 1.614 MB / 382.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.3098, allocations: 4.655 MB / 386.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3098, allocations: 0 / 386.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3098, allocations: 0 / 386.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.31, allocations: 7.938 kB / 386.9 MB, free: 5.637 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.009767/0.3198, allocations: 3.65 MB / 390.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.3198, allocations: 14.31 kB / 390.6 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007131/0.3206, allocations: 433.7 kB / 391 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/0.3248, allocations: 0.7503 MB / 391.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.3285, allocations: 1.78 MB / 393.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3287, allocations: 197.2 kB / 393.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005377/0.3292, allocations: 271.5 kB / 394 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005369/0.3346, allocations: 3.621 MB / 397.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.3347, allocations: 3.375 kB / 397.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.3349, allocations: 106.7 kB / 397.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.361e-05/0.335, allocations: 102.9 kB / 397.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.34, allocations: 3.104 MB / 400.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.3557, allocations: 10.34 MB / 411.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.3605, allocations: 4.576 MB / 415.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3619, allocations: 0.9572 MB / 416.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003986/0.3659, allocations: 2.627 MB / 419.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3659, allocations: 55.42 kB / 419.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 4.117e-06/0.3659, allocations: 3.984 kB / 419.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005933/0.3719, allocations: 2.645 MB / 422.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.3719, allocations: 93.97 kB / 422.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.3739, allocations: 1.403 MB / 423.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.816e-05/0.374, allocations: 41.7 kB / 423.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/0.3747, allocations: 1.183 MB / 424.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.375, allocations: 360.4 kB / 425.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.3753, allocations: 218.8 kB / 425.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3755, allocations: 353.9 kB / 425.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.3763, allocations: 0.5608 MB / 426.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.3774, allocations: 0.851 MB / 427.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.3794, allocations: 1.46 MB / 428.6 MB, free: 492 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3794, allocations: 0 / 428.6 MB, free: 492 kB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003233/0.3827, allocations: 1.969 MB / 430.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3827, allocations: 8.281 kB / 430.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.3827, allocations: 12 kB / 430.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009131/0.3837, allocations: 404.5 kB / 431 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.3844, allocations: 218.1 kB / 431.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006833/0.3913, allocations: 6.533 MB / 437.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/0.3922, allocations: 138.7 kB / 437.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3923, allocations: 51.98 kB / 437.9 MB, free: 6.992 MB / 350.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.001363/0.3937, allocations: 0.8701 MB / 438.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.394, allocations: 138.3 kB / 438.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/0.3969, allocations: 1.65 MB / 440.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.3969, allocations: 12 kB / 440.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.3969, allocations: 8 kB / 440.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.397, allocations: 7.969 kB / 440.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006412/0.4034, allocations: 3.929 MB / 444.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4034, allocations: 0 / 444.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.4039, allocations: 131 kB / 444.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008613/0.4048, allocations: 405.5 kB / 445.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.4049, allocations: 31.98 kB / 445.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006851/0.4118, allocations: 6.508 MB / 451.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4118, allocations: 3.562 kB / 451.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.4156, allocations: 2.486 MB / 454.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/0.4162, allocations: 239.1 kB / 454.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.4165, allocations: 24 kB / 454.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009482/0.4175, allocations: 91.91 kB / 454.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.4177, allocations: 100.1 kB / 454.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.4178, allocations: 31.98 kB / 454.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001589/0.4194, allocations: 0.9834 MB / 455.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4194, allocations: 0 / 455.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002099/0.4215, allocations: 0.6766 MB / 456.2 MB, free: 4.371 MB / 366.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.00409/0.4256, allocations: 3.081 MB / 459.3 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003306/0.4289, allocations: 1.932 MB / 461.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.429, allocations: 4.25 kB / 461.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.4307, allocations: 1.132 MB / 462.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.4327, allocations: 311.1 kB / 462.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/0.4603, allocations: 17.17 MB / 479.8 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/0.4629, allocations: 2.184 MB / 482 MB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001044/0.4639, allocations: 339 kB / 482.4 MB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.465, allocations: 0.8781 MB / 483.2 MB, free: 8.625 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.465, allocations: 0 / 483.2 MB, free: 8.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/1.622, allocations: 38.05 MB / 0.5091 GB, free: 2.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/20.96, allocations: 12.05 kB / 0.5091 GB, free: 2.938 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches