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.0007099/0.0007099, allocations: 93.84 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000795/0.000795, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001903/0.0001904, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.0884, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006783/0.09523, allocations: 7.25 MB / 366.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.09954, allocations: 2.429 MB / 369 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.1004, allocations: 55.75 kB / 369.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.1013, allocations: 374 kB / 369.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1034, allocations: 0.7855 MB / 370.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1045, allocations: 347.5 kB / 370.6 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1651/0.2696, allocations: 3.538 MB / 374.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.2722, allocations: 2.418 MB / 376.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.2736, allocations: 1.042 MB / 377.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.275, allocations: 1.39 MB / 379 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.2753, allocations: 152.6 kB / 379.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.2759, allocations: 280.7 kB / 379.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.2764, allocations: 0.6487 MB / 380 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.2775, allocations: 1.346 MB / 381.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.2814, allocations: 4.4 MB / 385.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2814, allocations: 0 / 385.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2814, allocations: 0 / 385.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.2815, allocations: 1.375 kB / 385.8 MB, free: 6.699 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.006292/0.2878, allocations: 3.142 MB / 388.9 MB, free: 5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2878, allocations: 9.906 kB / 388.9 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005582/0.2884, allocations: 440.8 kB / 389.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/0.292, allocations: 0.7625 MB / 390.1 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.2944, allocations: 1.782 MB / 391.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.2945, allocations: 207.2 kB / 392.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.2949, allocations: 264.5 kB / 392.4 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005004/0.2999, allocations: 3.637 MB / 396 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.2999, allocations: 0 / 396 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.3002, allocations: 108 kB / 396.1 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-05/0.3002, allocations: 106.1 kB / 396.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004743/0.305, allocations: 3.125 MB / 399.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.3212, allocations: 10.42 MB / 409.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/0.3257, allocations: 4.582 MB / 414.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.3271, allocations: 0.9599 MB / 415.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003611/0.3307, allocations: 2.639 MB / 418 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3308, allocations: 47.44 kB / 418 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.485e-06/0.3308, allocations: 0 / 418 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005773/0.3366, allocations: 2.725 MB / 420.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3366, allocations: 85.98 kB / 420.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.3385, allocations: 1.407 MB / 422.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.728e-05/0.3385, allocations: 41.7 kB / 422.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007041/0.3393, allocations: 1.179 MB / 423.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.3395, allocations: 359.1 kB / 423.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3397, allocations: 101.7 kB / 423.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3398, allocations: 349.9 kB / 424.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008659/0.3407, allocations: 0.5764 MB / 424.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3417, allocations: 0.8602 MB / 425.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.3436, allocations: 1.485 MB / 427.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3436, allocations: 0 / 427.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003011/0.3466, allocations: 1.996 MB / 429.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3466, allocations: 15.98 kB / 429.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3467, allocations: 8 kB / 429.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/0.3475, allocations: 396.6 kB / 429.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.3483, allocations: 213.3 kB / 429.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.3546, allocations: 5.999 MB / 435.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.3556, allocations: 150.8 kB / 435.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.3557, allocations: 44 kB / 436 MB, free: 9.625 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.001506/0.3572, allocations: 0.8738 MB / 436.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.3574, allocations: 142.2 kB / 437 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.3601, allocations: 1.682 MB / 438.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.3601, allocations: 12 kB / 438.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3601, allocations: 4 kB / 438.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3602, allocations: 3.984 kB / 438.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/0.3656, allocations: 3.956 MB / 442.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.3656, allocations: 4 kB / 442.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.3661, allocations: 139.1 kB / 442.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.3669, allocations: 396.9 kB / 443.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.367, allocations: 31.36 kB / 443.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/0.373, allocations: 5.965 MB / 449.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.373, allocations: 10.97 kB / 449.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.3765, allocations: 2.515 MB / 451.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.3768, allocations: 239.2 kB / 451.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.377, allocations: 27.98 kB / 451.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.3777, allocations: 103.9 kB / 452 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.3779, allocations: 108 kB / 452.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.378, allocations: 32 kB / 452.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.3792, allocations: 0.9795 MB / 453.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3793, allocations: 0 / 453.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001683/0.3809, allocations: 0.6804 MB / 453.8 MB, free: 7.43 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.003976/0.3849, allocations: 3.121 MB / 457 MB, free: 4.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.3877, allocations: 1.802 MB / 458.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3877, allocations: 0 / 458.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.3894, allocations: 1.156 MB / 459.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.3913, allocations: 294.9 kB / 460.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.4147, allocations: 18.38 MB / 478.6 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.4164, allocations: 2.188 MB / 480.8 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009312/0.4173, allocations: 347 kB / 481.1 MB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000968/0.4183, allocations: 0.8721 MB / 482 MB, free: 10.37 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4183, allocations: 3.938 kB / 482 MB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.4721, allocations: 36.5 MB / 0.5063 GB, free: 6.262 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.4723, allocations: 254.2 kB / 0.5066 GB, free: 6.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.762, allocations: 3.375 kB / 0.5066 GB, free: 6.004 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