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.001646/0.001646, allocations: 105.3 kB / 17.06 MB, free: 6.016 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.00163/0.00163, allocations: 189.4 kB / 18 MB, free: 5.102 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.468/1.468, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.86 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3074, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009328/0.3168, allocations: 7.251 MB / 407.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004658/0.3215, allocations: 2.172 MB / 409.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008032/0.3223, allocations: 55.75 kB / 409.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3234, allocations: 449 kB / 410.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.3259, allocations: 0.8897 MB / 411.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.3267, allocations: 355.4 kB / 411.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003814/0.3306, allocations: 3.155 MB / 414.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.3338, allocations: 2.887 MB / 417.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.3358, allocations: 1.414 MB / 418.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.3383, allocations: 1.697 MB / 420.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005285/0.3389, allocations: 356 kB / 420.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.3399, allocations: 483.9 kB / 421.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008409/0.3407, allocations: 0.8998 MB / 422.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.3427, allocations: 1.606 MB / 423.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005258/0.3479, allocations: 4.69 MB / 428.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.348, allocations: 0 / 428.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.348, allocations: 0 / 428.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.302e-05/0.3481, allocations: 4 kB / 428.6 MB, free: 12.34 MB / 350.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.008669/0.3568, allocations: 3.695 MB / 432.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3568, allocations: 16.03 kB / 432.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006664/0.3575, allocations: 433.1 kB / 432.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/0.361, allocations: 0.7055 MB / 433.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.3643, allocations: 1.804 MB / 435.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.3645, allocations: 197.7 kB / 435.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/0.3649, allocations: 271.9 kB / 435.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/0.371, allocations: 3.626 MB / 439.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.3711, allocations: 0 / 439.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.3714, allocations: 108 kB / 439.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3715, allocations: 97.44 kB / 439.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/0.3769, allocations: 3.105 MB / 442.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.3939, allocations: 10.27 MB / 452.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.3999, allocations: 4.561 MB / 457.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.4016, allocations: 0.957 MB / 458.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004346/0.406, allocations: 2.398 MB / 460.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.4061, allocations: 47.44 kB / 460.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.316e-06/0.4061, allocations: 0 / 460.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.009311/0.4154, allocations: 2.661 MB / 463.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.4155, allocations: 93.92 kB / 463.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.4185, allocations: 1.371 MB / 465 MB, free: 6.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.4186, allocations: 41.7 kB / 465 MB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.4197, allocations: 1.199 MB / 466.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.4201, allocations: 380.8 kB / 466.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.4205, allocations: 214.9 kB / 466.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4206, allocations: 353.9 kB / 467.1 MB, free: 4.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4221, allocations: 0.5608 MB / 467.7 MB, free: 3.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.424, allocations: 0.8491 MB / 468.5 MB, free: 2.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.4273, allocations: 1.461 MB / 470 MB, free: 1.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.4274, allocations: 8 kB / 470 MB, free: 1.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00551/0.4329, allocations: 1.969 MB / 472 MB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.433, allocations: 11.94 kB / 472 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.433, allocations: 8 kB / 472 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.4345, allocations: 397.2 kB / 472.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.4359, allocations: 215.7 kB / 472.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.4472, allocations: 6.535 MB / 479.1 MB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4487, allocations: 147 kB / 479.3 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4488, allocations: 48 kB / 479.3 MB, free: 7.664 MB / 398.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.002046/0.4509, allocations: 0.8643 MB / 480.2 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.4513, allocations: 143.1 kB / 480.3 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.4555, allocations: 1.652 MB / 482 MB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.4555, allocations: 11.98 kB / 482 MB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.4555, allocations: 12 kB / 482 MB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.4556, allocations: 7.922 kB / 482 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/0.4642, allocations: 3.918 MB / 485.9 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4643, allocations: 0 / 485.9 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.4649, allocations: 127.8 kB / 486 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.466, allocations: 405.4 kB / 486.4 MB, free: 424 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.4661, allocations: 27.98 kB / 486.5 MB, free: 396 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008476/0.4746, allocations: 6.515 MB / 493 MB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4746, allocations: 0 / 493 MB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.4789, allocations: 2.482 MB / 495.5 MB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.4793, allocations: 252 kB / 495.7 MB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.4795, allocations: 24 kB / 495.7 MB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.4803, allocations: 95.84 kB / 495.8 MB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.4805, allocations: 96.73 kB / 495.9 MB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.4806, allocations: 31.98 kB / 496 MB, free: 6.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.4821, allocations: 0.9591 MB / 496.9 MB, free: 5.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4821, allocations: 3.938 kB / 496.9 MB, free: 5.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001901/0.4841, allocations: 0.693 MB / 497.6 MB, free: 4.895 MB / 414.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.004603/0.4887, allocations: 3.096 MB / 0.489 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.492, allocations: 1.782 MB / 0.4907 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.492, allocations: 4.062 kB / 0.4907 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.494, allocations: 1.132 MB / 0.4918 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.4956, allocations: 304.5 kB / 0.4921 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/0.521, allocations: 15.94 MB / 0.5077 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.5232, allocations: 2.184 MB / 0.5098 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.5242, allocations: 343 kB / 0.5101 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.5253, allocations: 0.8687 MB / 0.511 GB, free: 10.64 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5253, allocations: 0 / 0.511 GB, free: 10.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3028/0.8281, allocations: 38.54 MB / 0.5486 GB, free: 131.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.19, allocations: 10.69 kB / 0.5486 GB, free: 131.7 MB / 462.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