Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_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.00132/0.00132, allocations: 110.2 kB / 17.73 MB, free: 5.23 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.00123/0.00123, allocations: 188.1 kB / 18.66 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 59.91 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09972, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2053/0.3051, allocations: 7.191 MB / 381.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.3096, allocations: 2.241 MB / 384.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000956/0.3106, allocations: 44.56 kB / 384.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.3118, allocations: 441.5 kB / 384.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.3146, allocations: 0.8739 MB / 385.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3156, allocations: 380.6 kB / 385.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.3198, allocations: 3.141 MB / 388.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.3232, allocations: 2.858 MB / 391.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.3255, allocations: 1.417 MB / 393.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.3285, allocations: 1.677 MB / 394.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009277/0.3294, allocations: 359.2 kB / 395.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3311, allocations: 486.6 kB / 395.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009732/0.3321, allocations: 0.9042 MB / 396.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.3344, allocations: 1.612 MB / 398.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007034/0.3414, allocations: 4.669 MB / 402.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3414, allocations: 1.25 kB / 402.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3415, allocations: 0 / 402.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.3416, allocations: 0 / 402.9 MB, free: 15.8 MB / 334.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.01086/0.3525, allocations: 3.698 MB / 406.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3525, allocations: 10.12 kB / 406.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008271/0.3534, allocations: 437.8 kB / 407 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/0.3572, allocations: 0.7028 MB / 407.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/0.3611, allocations: 1.707 MB / 409.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.3612, allocations: 197.2 kB / 409.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005623/0.3618, allocations: 266.4 kB / 409.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007334/0.3691, allocations: 3.619 MB / 413.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.3692, allocations: 0 / 413.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.3695, allocations: 108 kB / 413.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.3696, allocations: 105.4 kB / 413.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/0.3758, allocations: 3.093 MB / 416.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.3965, allocations: 10.4 MB / 427.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.4025, allocations: 4.675 MB / 431.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4042, allocations: 0.9575 MB / 432.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004427/0.4086, allocations: 2.46 MB / 435.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4087, allocations: 43.44 kB / 435.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/0.4087, allocations: 7.938 kB / 435.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006727/0.4154, allocations: 2.7 MB / 438.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.4155, allocations: 93.92 kB / 438.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.4176, allocations: 1.378 MB / 439.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.4177, allocations: 45.7 kB / 439.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008973/0.4186, allocations: 1.199 MB / 440.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.419, allocations: 376.8 kB / 441.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.4194, allocations: 222.8 kB / 441.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4195, allocations: 357.9 kB / 441.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/0.4205, allocations: 0.5764 MB / 442.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.4218, allocations: 0.8569 MB / 443.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.4241, allocations: 1.488 MB / 444.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.4241, allocations: 4 kB / 444.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003737/0.4278, allocations: 2 MB / 446.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4279, allocations: 8 kB / 446.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4279, allocations: 8 kB / 446.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.429, allocations: 413.2 kB / 447.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.4298, allocations: 215.7 kB / 447.3 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008452/0.4383, allocations: 6.656 MB / 453.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4397, allocations: 155 kB / 454.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4398, allocations: 48 kB / 454.1 MB, free: 14.57 MB / 382.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.001838/0.4416, allocations: 0.8643 MB / 455 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.4421, allocations: 143.1 kB / 455.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.4452, allocations: 1.667 MB / 456.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4452, allocations: 15.94 kB / 456.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4452, allocations: 4 kB / 456.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4453, allocations: 11.98 kB / 456.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007516/0.4528, allocations: 3.984 MB / 460.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4528, allocations: 4 kB / 460.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.4534, allocations: 131.8 kB / 460.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.4551, allocations: 409.7 kB / 461.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.4552, allocations: 31.98 kB / 461.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.466, allocations: 6.641 MB / 468 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.4661, allocations: 4.062 kB / 468 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.4708, allocations: 2.517 MB / 470.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.4714, allocations: 240 kB / 470.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.4716, allocations: 39.98 kB / 470.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.4724, allocations: 91.84 kB / 470.9 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.4727, allocations: 96.73 kB / 471 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.4727, allocations: 31.98 kB / 471 MB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001581/0.4743, allocations: 0.963 MB / 472 MB, free: 12.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.4743, allocations: 3.938 kB / 472 MB, free: 12.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002104/0.4764, allocations: 0.6891 MB / 472.7 MB, free: 11.54 MB / 398.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.00449/0.4809, allocations: 3.118 MB / 475.8 MB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.4843, allocations: 1.824 MB / 477.6 MB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4844, allocations: 0 / 477.6 MB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.4863, allocations: 1.145 MB / 478.8 MB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.4881, allocations: 302.9 kB / 479.1 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.5154, allocations: 16.09 MB / 495.2 MB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.5183, allocations: 2.184 MB / 497.3 MB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.52, allocations: 339 kB / 497.7 MB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/0.5215, allocations: 0.8664 MB / 498.5 MB, free: 1.051 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5215, allocations: 0 / 498.5 MB, free: 1.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09154/0.613, allocations: 38.83 MB / 0.5248 GB, free: 10.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.95, allocations: 19.69 kB / 0.5248 GB, free: 10.08 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches