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.001236/0.001236, allocations: 114.7 kB / 17.28 MB, free: 6.219 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.001591/0.001591, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.837/1.837, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001527/0.001527, allocations: 48.42 kB / 280.2 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 46.64 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01145/0.1564, allocations: 7.147 MB / 334 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.1632, allocations: 2.204 MB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.1656, allocations: 39.81 kB / 336.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.1678, allocations: 374 kB / 336.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.1724, allocations: 0.7893 MB / 337.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1741, allocations: 343.5 kB / 337.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006046/0.1802, allocations: 3.121 MB / 340.9 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.1848, allocations: 2.855 MB / 343.7 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.1878, allocations: 1.425 MB / 345.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/0.192, allocations: 1.716 MB / 346.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.1936, allocations: 360 kB / 347.2 MB, free: 192 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.196, allocations: 487.9 kB / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002224/0.1983, allocations: 0.8959 MB / 348.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005981/0.2043, allocations: 1.614 MB / 350.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.2109, allocations: 4.607 MB / 354.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.2109, allocations: 0 / 354.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.2109, allocations: 0 / 354.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001162/0.2111, allocations: 0 / 354.8 MB, free: 8.57 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.009359/0.2204, allocations: 3.633 MB / 358.5 MB, free: 4.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.302e-05/0.2205, allocations: 8.031 kB / 358.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007282/0.2213, allocations: 437.1 kB / 358.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.2247, allocations: 0.6922 MB / 359.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.2277, allocations: 1.671 MB / 361.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.2278, allocations: 205.7 kB / 361.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.2282, allocations: 263.8 kB / 361.7 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/0.2345, allocations: 3.619 MB / 365.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.2346, allocations: 0 / 365.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.2349, allocations: 108 kB / 365.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.235, allocations: 105.4 kB / 365.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0057/0.2407, allocations: 3.089 MB / 368.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.303/0.5438, allocations: 10.51 MB / 379.1 MB, free: 48.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006464/0.5503, allocations: 4.674 MB / 383.8 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.5517, allocations: 0.9636 MB / 384.8 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004931/0.5567, allocations: 2.441 MB / 387.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5567, allocations: 47.03 kB / 387.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.849e-06/0.5567, allocations: 2.906 kB / 387.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.00718/0.5639, allocations: 2.701 MB / 390 MB, free: 42.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.564, allocations: 88.73 kB / 390.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.5663, allocations: 1.377 MB / 391.4 MB, free: 42.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.5663, allocations: 46.33 kB / 391.5 MB, free: 42.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/0.5671, allocations: 1.166 MB / 392.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.5674, allocations: 363.9 kB / 393 MB, free: 41.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.5677, allocations: 222.7 kB / 393.2 MB, free: 40.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5679, allocations: 354.6 kB / 393.6 MB, free: 40.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009263/0.5688, allocations: 0.5777 MB / 394.1 MB, free: 40.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009277/0.5697, allocations: 0.8574 MB / 395 MB, free: 39.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.5714, allocations: 1.487 MB / 396.5 MB, free: 39.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.5714, allocations: 6.75 kB / 396.5 MB, free: 39.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003627/0.5751, allocations: 1.994 MB / 398.5 MB, free: 38.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.5751, allocations: 12.47 kB / 398.5 MB, free: 38.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.5752, allocations: 12.52 kB / 398.5 MB, free: 38.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.5762, allocations: 404.7 kB / 398.9 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.577, allocations: 218.7 kB / 399.1 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006256/0.5833, allocations: 6.65 MB / 405.8 MB, free: 33.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.5841, allocations: 152.8 kB / 405.9 MB, free: 33.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.998e-05/0.5842, allocations: 43.25 kB / 406 MB, free: 33.11 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.001438/0.5856, allocations: 0.8783 MB / 406.8 MB, free: 32.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.5858, allocations: 131.9 kB / 407 MB, free: 32.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.5883, allocations: 1.666 MB / 408.6 MB, free: 31.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5883, allocations: 7.312 kB / 408.6 MB, free: 31.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5884, allocations: 11.31 kB / 408.7 MB, free: 31.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5884, allocations: 3.984 kB / 408.7 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/0.5932, allocations: 3.993 MB / 412.7 MB, free: 28.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5932, allocations: 0 / 412.7 MB, free: 28.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.5937, allocations: 139.7 kB / 412.8 MB, free: 28.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007526/0.5945, allocations: 397.5 kB / 413.2 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.5946, allocations: 43.92 kB / 413.2 MB, free: 27.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.6007, allocations: 6.633 MB / 419.9 MB, free: 20.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6007, allocations: 64 / 419.9 MB, free: 20.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.6041, allocations: 2.516 MB / 422.4 MB, free: 18.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.6044, allocations: 243.2 kB / 422.6 MB, free: 18.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.6046, allocations: 35.98 kB / 422.6 MB, free: 18.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.6054, allocations: 89.91 kB / 422.7 MB, free: 17.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.6056, allocations: 100.7 kB / 422.8 MB, free: 17.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.6057, allocations: 32.53 kB / 422.9 MB, free: 17.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.6068, allocations: 0.963 MB / 423.8 MB, free: 16.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6068, allocations: 0 / 423.8 MB, free: 16.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001655/0.6085, allocations: 0.6766 MB / 424.5 MB, free: 16.21 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.003668/0.6122, allocations: 3.104 MB / 427.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.6154, allocations: 1.966 MB / 429.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.6154, allocations: 4 kB / 429.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.617, allocations: 1.137 MB / 430.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.6185, allocations: 318.2 kB / 431 MB, free: 9.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/0.6463, allocations: 18.2 MB / 449.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/0.6489, allocations: 2.181 MB / 451.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.6501, allocations: 347 kB / 451.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.6513, allocations: 0.8625 MB / 452.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6513, allocations: 0 / 452.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.752, allocations: 37.74 MB / 490.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/0.7523, allocations: 259.1 kB / 490.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.53, allocations: 0 / 490.6 MB, free: 13.14 MB / 382.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