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.001247/0.001247, allocations: 105.8 kB / 17.15 MB, free: 6.305 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.001423/0.001423, allocations: 198 kB / 18.07 MB, free: 5.41 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.535/1.535, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001122/0.001122, allocations: 44.27 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09909, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008047/0.1072, allocations: 7.151 MB / 333.8 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.1115, allocations: 2.224 MB / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009119/0.1125, allocations: 43.81 kB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009779/0.1135, allocations: 374 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.1158, allocations: 0.8089 MB / 337.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.1166, allocations: 335.5 kB / 337.6 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.1202, allocations: 3.441 MB / 341.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.1227, allocations: 2.388 MB / 343.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.1244, allocations: 1.214 MB / 344.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.1265, allocations: 1.619 MB / 346.3 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000406/0.1269, allocations: 232 kB / 346.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.1278, allocations: 363.8 kB / 346.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006286/0.1284, allocations: 0.767 MB / 347.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.1299, allocations: 1.469 MB / 349.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.1337, allocations: 4.498 MB / 353.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1337, allocations: 0 / 353.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1338, allocations: 0 / 353.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.1339, allocations: 0 / 353.6 MB, free: 9.734 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.008658/0.1425, allocations: 3.625 MB / 357.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1426, allocations: 12.03 kB / 357.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006298/0.1432, allocations: 437.1 kB / 357.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.1468, allocations: 0.6999 MB / 358.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.15, allocations: 1.667 MB / 360 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1501, allocations: 201.7 kB / 360.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/0.1506, allocations: 267.8 kB / 360.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.1567, allocations: 3.615 MB / 364.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.1568, allocations: 3.938 kB / 364.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.157, allocations: 108 kB / 364.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.1571, allocations: 101.4 kB / 364.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.1625, allocations: 3.101 MB / 367.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.1774, allocations: 10.5 MB / 377.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1436/0.321, allocations: 4.67 MB / 382.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.323, allocations: 0.9614 MB / 383.5 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003792/0.3268, allocations: 2.451 MB / 386 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3268, allocations: 44.09 kB / 386 MB, free: 45.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.517e-06/0.3269, allocations: 1.188 kB / 386 MB, free: 45.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005769/0.3326, allocations: 2.703 MB / 388.7 MB, free: 44.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3327, allocations: 88.08 kB / 388.8 MB, free: 44.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.3344, allocations: 1.378 MB / 390.2 MB, free: 44.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.3345, allocations: 42.14 kB / 390.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.335, allocations: 1.175 MB / 391.4 MB, free: 43.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.3352, allocations: 362.9 kB / 391.8 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.3355, allocations: 217.1 kB / 392 MB, free: 42.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.3356, allocations: 353.9 kB / 392.3 MB, free: 42.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.3363, allocations: 0.5779 MB / 392.9 MB, free: 42.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/0.3372, allocations: 0.8566 MB / 393.8 MB, free: 41.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.3388, allocations: 1.49 MB / 395.3 MB, free: 40.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3388, allocations: 2.375 kB / 395.3 MB, free: 40.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002716/0.3416, allocations: 1.994 MB / 397.3 MB, free: 40.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3416, allocations: 12.53 kB / 397.3 MB, free: 40.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3416, allocations: 16.03 kB / 397.3 MB, free: 40.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008744/0.3425, allocations: 398.1 kB / 397.7 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.3432, allocations: 221 kB / 397.9 MB, free: 40.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005109/0.3484, allocations: 6.09 MB / 404 MB, free: 35.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/0.3492, allocations: 138 kB / 404.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.3493, allocations: 58.64 kB / 404.2 MB, free: 35.53 MB / 318.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.001126/0.3504, allocations: 0.8629 MB / 405 MB, free: 34.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.3506, allocations: 139.4 kB / 405.2 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.3528, allocations: 1.672 MB / 406.8 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3528, allocations: 11.19 kB / 406.8 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3529, allocations: 7.406 kB / 406.9 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.3529, allocations: 7.969 kB / 406.9 MB, free: 33.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.3573, allocations: 3.992 MB / 410.9 MB, free: 30.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3573, allocations: 0 / 410.9 MB, free: 30.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.3578, allocations: 135.8 kB / 411 MB, free: 30.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.3586, allocations: 397.4 kB / 411.4 MB, free: 29.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.3586, allocations: 35.97 kB / 411.4 MB, free: 29.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.3635, allocations: 6.08 MB / 417.5 MB, free: 23.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3635, allocations: 3.938 kB / 417.5 MB, free: 23.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.3664, allocations: 2.504 MB / 420 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.3667, allocations: 242.9 kB / 420.2 MB, free: 20.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.3668, allocations: 39.92 kB / 420.3 MB, free: 20.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.3675, allocations: 91.72 kB / 420.4 MB, free: 20.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.3677, allocations: 96.67 kB / 420.5 MB, free: 20.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.3678, allocations: 35.98 kB / 420.5 MB, free: 20.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009929/0.3688, allocations: 0.963 MB / 421.5 MB, free: 19.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3688, allocations: 0 / 421.5 MB, free: 19.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001549/0.3703, allocations: 0.6766 MB / 422.1 MB, free: 18.82 MB / 318.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.003017/0.3734, allocations: 3.106 MB / 425.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.3757, allocations: 1.801 MB / 427 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3757, allocations: 1.188 kB / 427 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.3771, allocations: 1.14 MB / 428.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3784, allocations: 297.3 kB / 428.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.398, allocations: 18.2 MB / 446.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.3997, allocations: 2.187 MB / 448.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009592/0.4006, allocations: 343 kB / 449.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/0.4015, allocations: 0.8664 MB / 450.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4015, allocations: 0 / 450.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8125/1.214, allocations: 36.96 MB / 487 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/1.214, allocations: 255.3 kB / 487.3 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.668, allocations: 4 kB / 487.3 MB, free: 0.6836 MB / 366.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","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches