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.001445/0.001445, allocations: 101.8 kB / 16.62 MB, free: 6.809 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.001605/0.001605, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.243/1.243, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009114/0.0009114, allocations: 43.33 kB / 300.2 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08347, allocations: 49.45 MB / 349.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007043/0.09054, allocations: 7.198 MB / 356.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.09359, allocations: 2.145 MB / 359 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00038/0.09398, allocations: 51.75 kB / 359.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.09473, allocations: 370 kB / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.09645, allocations: 0.8214 MB / 360.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.09712, allocations: 319.2 kB / 360.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.09991, allocations: 3.137 MB / 363.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.1025, allocations: 2.887 MB / 366.6 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.1038, allocations: 1.425 MB / 368 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.1053, allocations: 1.724 MB / 369.7 MB, free: 500 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.1057, allocations: 367.9 kB / 370.1 MB, free: 132 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1423/0.248, allocations: 472.6 kB / 370.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.2492, allocations: 0.9089 MB / 371.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.2511, allocations: 1.606 MB / 373.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004591/0.2557, allocations: 4.622 MB / 377.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2557, allocations: 0 / 377.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2558, allocations: 1.312 kB / 377.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.2559, allocations: 0 / 377.7 MB, free: 13.15 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.007798/0.2637, allocations: 3.628 MB / 381.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2637, allocations: 8.656 kB / 381.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005726/0.2643, allocations: 439.4 kB / 381.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.2677, allocations: 0.6895 MB / 382.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.2702, allocations: 1.739 MB / 384.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2703, allocations: 198 kB / 384.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.2707, allocations: 271 kB / 384.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/0.276, allocations: 3.617 MB / 388.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.2761, allocations: 1.188 kB / 388.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.2763, allocations: 110.8 kB / 388.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.995e-05/0.2764, allocations: 103.6 kB / 388.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.2807, allocations: 3.098 MB / 391.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.2938, allocations: 10.37 MB / 401.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/0.2985, allocations: 4.571 MB / 406.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.2998, allocations: 0.956 MB / 407.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003662/0.3035, allocations: 2.402 MB / 409.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3036, allocations: 43.44 kB / 409.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.244e-06/0.3036, allocations: 1.969 kB / 409.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.00592/0.3095, allocations: 2.646 MB / 412.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3096, allocations: 97.98 kB / 412.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.3113, allocations: 1.378 MB / 414 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.3114, allocations: 41.7 kB / 414.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006644/0.3121, allocations: 1.164 MB / 415.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3123, allocations: 357.7 kB / 415.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.3127, allocations: 218.8 kB / 415.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3128, allocations: 353.9 kB / 416.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.3136, allocations: 0.5687 MB / 416.7 MB, free: 316 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.3146, allocations: 0.8489 MB / 417.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.3165, allocations: 1.455 MB / 419 MB, free: 13.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.3165, allocations: 0 / 419 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003028/0.3196, allocations: 1.966 MB / 421 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3196, allocations: 8 kB / 421 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3196, allocations: 15.59 kB / 421 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/0.3205, allocations: 399.2 kB / 421.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.3213, allocations: 217.7 kB / 421.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/0.3281, allocations: 6.533 MB / 428.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/0.329, allocations: 142.7 kB / 428.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.3291, allocations: 52.05 kB / 428.3 MB, free: 4.32 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.001364/0.3305, allocations: 0.8655 MB / 429.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.3308, allocations: 138.3 kB / 429.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.3336, allocations: 1.656 MB / 431 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3336, allocations: 8 kB / 431 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.3336, allocations: 8 kB / 431 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3336, allocations: 3.984 kB / 431 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/0.3398, allocations: 3.917 MB / 434.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3398, allocations: 0 / 434.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.3404, allocations: 142.3 kB / 435.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008755/0.3413, allocations: 397.4 kB / 435.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.3414, allocations: 27.98 kB / 435.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.3481, allocations: 6.521 MB / 442 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3481, allocations: 4.031 kB / 442 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.3519, allocations: 2.478 MB / 444.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.3524, allocations: 235.3 kB / 444.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.3527, allocations: 24 kB / 444.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/0.3535, allocations: 83.91 kB / 444.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.3538, allocations: 108.4 kB / 444.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.3539, allocations: 35.98 kB / 445 MB, free: 3.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001948/0.3559, allocations: 0.9591 MB / 445.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3559, allocations: 0 / 445.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002359/0.3582, allocations: 0.6766 MB / 446.6 MB, free: 1.746 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.004102/0.3623, allocations: 3.08 MB / 449.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.3655, allocations: 1.929 MB / 451.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3655, allocations: 0 / 451.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.3672, allocations: 1.127 MB / 452.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.3687, allocations: 308 kB / 453 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/0.3948, allocations: 18.07 MB / 471.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/0.3972, allocations: 2.176 MB / 473.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.3983, allocations: 343 kB / 473.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.3994, allocations: 0.8664 MB / 474.5 MB, free: 5.133 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3994, allocations: 4 kB / 474.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.196/3.596, allocations: 37.43 MB / 0.4999 GB, free: 176 kB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/3.596, allocations: 267.9 kB / 0.5002 GB, free: 15.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/6.691, allocations: 0 / 0.5002 GB, free: 15.9 MB / 430.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