Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007178/0.0007178, allocations: 88.45 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 11.98 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1919, allocations: 47.57 MB / 375.2 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005026/0.1969, allocations: 6.244 MB / 381.4 MB, free: 40.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.2002, allocations: 2.08 MB / 383.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.2008, allocations: 45.12 kB / 383.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.2014, allocations: 319.8 kB / 383.9 MB, free: 38.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.203, allocations: 0.7444 MB / 384.6 MB, free: 37.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.2035, allocations: 267.3 kB / 384.9 MB, free: 37.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.2063, allocations: 3.171 MB / 388 MB, free: 35.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.2082, allocations: 2.382 MB / 390.4 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.2092, allocations: 1.012 MB / 391.4 MB, free: 32.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.2103, allocations: 1.331 MB / 392.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.2105, allocations: 152 kB / 392.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.211, allocations: 275.9 kB / 393.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.2114, allocations: 0.6306 MB / 393.8 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008679/0.2123, allocations: 1.288 MB / 395.1 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.2142, allocations: 3.72 MB / 398.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2143, allocations: 0 / 398.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2143, allocations: 0 / 398.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.2143, allocations: 0 / 398.8 MB, free: 24.91 MB / 298.7 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.005279/0.2196, allocations: 3.122 MB / 402 MB, free: 21.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2196, allocations: 12.03 kB / 402 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005007/0.2201, allocations: 445 kB / 402.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.2231, allocations: 0.6844 MB / 403.1 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.2251, allocations: 1.679 MB / 404.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.2252, allocations: 193.7 kB / 404.9 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.2254, allocations: 267.9 kB / 405.2 MB, free: 18.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.2299, allocations: 3.603 MB / 408.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.2299, allocations: 3.938 kB / 408.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.2301, allocations: 112 kB / 408.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/0.2302, allocations: 105.4 kB / 409 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/0.2341, allocations: 3.097 MB / 412.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.2456, allocations: 10.58 MB / 422.7 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.2501, allocations: 4.678 MB / 427.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.2514, allocations: 0.9608 MB / 428.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003315/0.2547, allocations: 2.46 MB / 430.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2548, allocations: 47.44 kB / 430.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.858e-06/0.2548, allocations: 0 / 430.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.005745/0.2605, allocations: 2.758 MB / 433.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2606, allocations: 89.92 kB / 433.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.2621, allocations: 1.363 MB / 435.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.2622, allocations: 41.7 kB / 435.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000646/0.2628, allocations: 1.176 MB / 436.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.2631, allocations: 358.8 kB / 436.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.2631, allocations: 24 kB / 436.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2633, allocations: 353.9 kB / 437 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008573/0.2641, allocations: 0.5842 MB / 437.6 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2651, allocations: 0.8654 MB / 438.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.267, allocations: 1.508 MB / 440 MB, free: 14.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.267, allocations: 4 kB / 440 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002929/0.27, allocations: 2.011 MB / 442 MB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.27, allocations: 9.406 kB / 442 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.27, allocations: 8 kB / 442 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/0.2709, allocations: 411.2 kB / 442.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/0.2716, allocations: 227.6 kB / 442.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.278, allocations: 6.085 MB / 448.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.2788, allocations: 150.8 kB / 448.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.2789, allocations: 44 kB / 448.9 MB, free: 4.922 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.2801, allocations: 0.872 MB / 449.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.2803, allocations: 134.3 kB / 449.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.2829, allocations: 1.691 MB / 451.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2829, allocations: 12 kB / 451.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2829, allocations: 8 kB / 451.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.283, allocations: 3.984 kB / 451.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.2883, allocations: 4.015 MB / 455.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2884, allocations: 3.938 kB / 455.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.2889, allocations: 140 kB / 455.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008167/0.2897, allocations: 389.3 kB / 456.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.2898, allocations: 39.98 kB / 456.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006154/0.296, allocations: 6.088 MB / 462.3 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.296, allocations: 0 / 462.3 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.2994, allocations: 2.536 MB / 464.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.2997, allocations: 247.1 kB / 465 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.2999, allocations: 35.92 kB / 465.1 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007271/0.3006, allocations: 103.9 kB / 465.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.3009, allocations: 96.67 kB / 465.3 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.3009, allocations: 31.98 kB / 465.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.302, allocations: 0.9552 MB / 466.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.302, allocations: 0 / 466.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001475/0.3035, allocations: 0.6727 MB / 466.9 MB, free: 2.402 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003735/0.3073, allocations: 3.134 MB / 470.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.3099, allocations: 1.835 MB / 471.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3099, allocations: 0 / 471.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.3115, allocations: 1.148 MB / 473 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.3131, allocations: 292.9 kB / 473.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.3302, allocations: 12.78 MB / 486.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.3318, allocations: 2.124 MB / 488.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009718/0.3328, allocations: 0.8781 MB / 489.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3328, allocations: 4 kB / 489.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.776/5.109, allocations: 61.63 MB / 0.5378 GB, free: 67.21 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches