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.00121/0.00121, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001532/0.001532, allocations: 182 kB / 17.56 MB, free: 6.203 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.49/1.49, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 4 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 50.41 MB / 351.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007975/0.1209, allocations: 6.691 MB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.1261, allocations: 2.134 MB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.1278, allocations: 51.81 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1293, allocations: 374 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.1324, allocations: 0.8127 MB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1337, allocations: 321.8 kB / 362.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.1386, allocations: 3.445 MB / 365.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.1424, allocations: 2.404 MB / 368.2 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.1443, allocations: 1.039 MB / 369.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.1467, allocations: 1.381 MB / 370.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006311/0.1473, allocations: 159.9 kB / 370.7 MB, free: 452 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1487, allocations: 267.9 kB / 371 MB, free: 184 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.206/0.3548, allocations: 0.6397 MB / 371.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.3572, allocations: 1.346 MB / 373 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.3634, allocations: 4.363 MB / 377.3 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3634, allocations: 1.469 kB / 377.4 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3634, allocations: 0 / 377.4 MB, free: 12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.3636, allocations: 1.344 kB / 377.4 MB, free: 12 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.008579/0.3722, allocations: 3.117 MB / 380.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.3722, allocations: 8.188 kB / 380.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008372/0.3731, allocations: 448.4 kB / 380.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.3767, allocations: 0.6942 MB / 381.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.3799, allocations: 1.744 MB / 383.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.3801, allocations: 198.7 kB / 383.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/0.3806, allocations: 259.4 kB / 383.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006649/0.3872, allocations: 3.635 MB / 387.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/0.3873, allocations: 0 / 387.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.3876, allocations: 107 kB / 387.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.3877, allocations: 111.9 kB / 387.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005384/0.3931, allocations: 3.124 MB / 390.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.4073, allocations: 10.43 MB / 401.2 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.4122, allocations: 4.581 MB / 405.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4136, allocations: 0.9578 MB / 406.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003674/0.4173, allocations: 2.4 MB / 409.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4173, allocations: 54.53 kB / 409.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.4173, allocations: 3.75 kB / 409.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006182/0.4235, allocations: 2.714 MB / 411.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.4236, allocations: 85.98 kB / 412 MB, free: 5.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.4256, allocations: 1.378 MB / 413.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.4257, allocations: 45.7 kB / 413.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009421/0.4267, allocations: 1.167 MB / 414.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.427, allocations: 363.7 kB / 414.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.4271, allocations: 101.7 kB / 415 MB, free: 2.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4273, allocations: 345.9 kB / 415.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.4282, allocations: 0.5875 MB / 416 MB, free: 1.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4294, allocations: 0.8479 MB / 416.8 MB, free: 444 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.4315, allocations: 1.491 MB / 418.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4315, allocations: 4 kB / 418.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003436/0.435, allocations: 1.988 MB / 420.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.435, allocations: 13.25 kB / 420.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.435, allocations: 8 kB / 420.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009734/0.436, allocations: 398 kB / 420.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.4368, allocations: 221.8 kB / 420.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.4438, allocations: 5.989 MB / 426.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.445, allocations: 146.8 kB / 427.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.4451, allocations: 47.98 kB / 427.1 MB, free: 5.887 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.001963/0.4471, allocations: 0.8681 MB / 428 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.4474, allocations: 141.2 kB / 428.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.4504, allocations: 1.671 MB / 429.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4504, allocations: 12 kB / 429.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.4504, allocations: 10.91 kB / 429.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4504, allocations: 3.984 kB / 429.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006515/0.4569, allocations: 3.942 MB / 433.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.457, allocations: 4 kB / 433.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.4576, allocations: 144.4 kB / 433.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/0.4585, allocations: 389.1 kB / 434.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/0.4585, allocations: 31.98 kB / 434.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/0.4656, allocations: 5.981 MB / 440.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.4656, allocations: 7.938 kB / 440.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.4697, allocations: 2.514 MB / 442.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.4702, allocations: 235.2 kB / 443 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4704, allocations: 31.98 kB / 443.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.4712, allocations: 99.91 kB / 443.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.4714, allocations: 107.2 kB / 443.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.4715, allocations: 33.2 kB / 443.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4729, allocations: 0.9552 MB / 444.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4729, allocations: 0 / 444.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002065/0.475, allocations: 0.6727 MB / 444.9 MB, free: 3.75 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.004286/0.4793, allocations: 3.123 MB / 448.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.4825, allocations: 1.809 MB / 449.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4825, allocations: 4 kB / 449.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.4844, allocations: 1.14 MB / 451 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4864, allocations: 292.5 kB / 451.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.52, allocations: 18.2 MB / 469.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/0.5221, allocations: 2.188 MB / 471.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001176/0.5233, allocations: 339 kB / 472 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.5244, allocations: 0.8667 MB / 472.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5244, allocations: 0 / 472.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07003/0.5944, allocations: 36.13 MB / 0.4971 GB, free: 3.402 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/0.5948, allocations: 257.7 kB / 0.4973 GB, free: 3.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.581, allocations: 3.656 kB / 0.4973 GB, free: 3.148 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