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.001141/0.00114, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 57.91 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.08077, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007492/0.08829, allocations: 7.787 MB / 364.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.09239, allocations: 2.456 MB / 367.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.0931, allocations: 51.81 kB / 367.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008101/0.09392, allocations: 389.9 kB / 367.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.09561, allocations: 0.7893 MB / 368.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.09629, allocations: 355.4 kB / 368.7 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1424/0.2387, allocations: 3.537 MB / 372.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.2415, allocations: 2.434 MB / 374.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.243, allocations: 1.221 MB / 375.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.245, allocations: 1.626 MB / 377.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004719/0.2455, allocations: 240.9 kB / 377.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009404/0.2464, allocations: 369 kB / 378.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006593/0.2471, allocations: 0.7731 MB / 378.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.2486, allocations: 1.476 MB / 380.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.2528, allocations: 4.537 MB / 384.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2528, allocations: 3.938 kB / 384.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2528, allocations: 1.656 kB / 384.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.209e-05/0.2529, allocations: 0 / 384.9 MB, free: 6.379 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.007887/0.2608, allocations: 3.647 MB / 388.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.2609, allocations: 8.812 kB / 388.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006619/0.2615, allocations: 438.7 kB / 389 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.2656, allocations: 0.7552 MB / 389.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.2684, allocations: 1.781 MB / 391.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2685, allocations: 197.4 kB / 391.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004487/0.269, allocations: 265.7 kB / 392 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.2745, allocations: 3.63 MB / 395.6 MB, free: 436 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.2745, allocations: 2.719 kB / 395.6 MB, free: 436 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.2748, allocations: 108 kB / 395.7 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.2749, allocations: 101.7 kB / 395.8 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/0.2798, allocations: 3.105 MB / 398.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/0.2962, allocations: 10.35 MB / 409.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.3009, allocations: 4.57 MB / 413.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3023, allocations: 0.9506 MB / 414.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003873/0.3061, allocations: 2.628 MB / 417.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3062, allocations: 47.42 kB / 417.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.3062, allocations: 4 kB / 417.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005705/0.3119, allocations: 2.656 MB / 420.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.312, allocations: 89.36 kB / 420.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.3138, allocations: 1.411 MB / 421.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.505e-05/0.3139, allocations: 45.7 kB / 421.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.3146, allocations: 1.176 MB / 422.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3148, allocations: 355.9 kB / 423.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.3151, allocations: 222.8 kB / 423.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3153, allocations: 357.9 kB / 423.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/0.3161, allocations: 0.5569 MB / 424.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.3172, allocations: 0.8483 MB / 425.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.3191, allocations: 1.46 MB / 426.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.3191, allocations: 4 kB / 426.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003083/0.3222, allocations: 1.966 MB / 428.6 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3222, allocations: 12 kB / 428.6 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.3222, allocations: 12 kB / 428.6 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/0.3232, allocations: 403.1 kB / 429 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.324, allocations: 216.3 kB / 429.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/0.3305, allocations: 5.97 MB / 435.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3315, allocations: 142.7 kB / 435.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3317, allocations: 51.92 kB / 435.4 MB, free: 9.391 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.001406/0.3331, allocations: 0.8711 MB / 436.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.3334, allocations: 142.2 kB / 436.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.3363, allocations: 1.655 MB / 438.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3363, allocations: 12 kB / 438.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.3363, allocations: 12 kB / 438.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3363, allocations: 7.969 kB / 438.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/0.3431, allocations: 3.921 MB / 442 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3432, allocations: 0 / 442 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.3437, allocations: 138.8 kB / 442.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009432/0.3447, allocations: 389.4 kB / 442.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/0.3448, allocations: 35.97 kB / 442.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.3513, allocations: 5.953 MB / 448.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.3513, allocations: 11.88 kB / 448.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.3551, allocations: 2.485 MB / 451 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.3555, allocations: 243.2 kB / 451.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.3558, allocations: 28 kB / 451.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.3566, allocations: 83.91 kB / 451.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3569, allocations: 100.7 kB / 451.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.357, allocations: 27.98 kB / 451.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001525/0.3585, allocations: 0.9834 MB / 452.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.3585, allocations: 0 / 452.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001988/0.3605, allocations: 0.6801 MB / 453.1 MB, free: 7.324 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.004064/0.3646, allocations: 3.082 MB / 456.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.3675, allocations: 1.768 MB / 458 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3675, allocations: 0 / 458 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.3692, allocations: 1.143 MB / 459.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.3709, allocations: 295.2 kB / 459.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/0.398, allocations: 18.23 MB / 477.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002335/0.4004, allocations: 2.188 MB / 479.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00104/0.4014, allocations: 343 kB / 480.2 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.4025, allocations: 0.8781 MB / 481.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4026, allocations: 4 kB / 481.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05978/0.4624, allocations: 37.03 MB / 0.506 GB, free: 6.012 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.4626, allocations: 258.7 kB / 0.5062 GB, free: 5.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/2.897, allocations: 2.656 kB / 0.5062 GB, free: 5.754 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