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.0007484/0.0007485, allocations: 95.06 kB / 17.3 MB, free: 6.344 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.000888/0.0008879, allocations: 181.5 kB / 18.21 MB, free: 5.527 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.196/1.196, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004591/0.0004593, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.09958, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006765/0.1064, allocations: 6.645 MB / 335.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1105, allocations: 2.193 MB / 337.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.1111, allocations: 39.81 kB / 337.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.1119, allocations: 374 kB / 338.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.1139, allocations: 0.7933 MB / 339.1 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.1147, allocations: 343.5 kB / 339.4 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003433/0.1181, allocations: 3.441 MB / 342.9 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.1208, allocations: 2.372 MB / 345.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.1224, allocations: 1.031 MB / 346.3 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.1244, allocations: 1.388 MB / 347.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003279/0.1247, allocations: 156 kB / 347.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008503/0.1256, allocations: 271.9 kB / 348.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.1262, allocations: 0.6459 MB / 348.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.1277, allocations: 1.334 MB / 350.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.133, allocations: 4.356 MB / 354.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1331, allocations: 0 / 354.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1331, allocations: 0 / 354.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001699/0.1333, allocations: 0 / 354.4 MB, free: 10.14 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.008577/0.1419, allocations: 3.114 MB / 357.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1419, allocations: 8.031 kB / 357.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008393/0.1428, allocations: 445 kB / 358 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.1462, allocations: 0.6999 MB / 358.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.1489, allocations: 1.667 MB / 360.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.149, allocations: 205.5 kB / 360.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.1494, allocations: 260 kB / 360.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/0.1552, allocations: 3.638 MB / 364.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.1553, allocations: 0 / 364.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.1555, allocations: 108 kB / 364.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.185e-05/0.1556, allocations: 105.4 kB / 364.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005001/0.1606, allocations: 3.121 MB / 367.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.1764, allocations: 10.57 MB / 378.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1647/0.3411, allocations: 4.68 MB / 383 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.3432, allocations: 0.9649 MB / 384 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004681/0.3479, allocations: 2.455 MB / 386.4 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.348, allocations: 49.47 kB / 386.5 MB, free: 45.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.496e-06/0.348, allocations: 3.609 kB / 386.5 MB, free: 45.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006661/0.3547, allocations: 2.758 MB / 389.2 MB, free: 44.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3547, allocations: 97.44 kB / 389.3 MB, free: 44.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.3567, allocations: 1.379 MB / 390.7 MB, free: 44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.3568, allocations: 42.42 kB / 390.8 MB, free: 43.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.3574, allocations: 1.169 MB / 391.9 MB, free: 43.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.3576, allocations: 359.1 kB / 392.3 MB, free: 42.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3578, allocations: 102.6 kB / 392.4 MB, free: 42.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.3578, allocations: 349.5 kB / 392.7 MB, free: 42.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00084/0.3587, allocations: 0.5937 MB / 393.3 MB, free: 42.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.3596, allocations: 0.8718 MB / 394.2 MB, free: 41.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3614, allocations: 1.513 MB / 395.7 MB, free: 40.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3615, allocations: 2.562 kB / 395.7 MB, free: 40.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00294/0.3644, allocations: 2.021 MB / 397.7 MB, free: 40.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3644, allocations: 15.59 kB / 397.7 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3645, allocations: 9.734 kB / 397.7 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008579/0.3653, allocations: 401.1 kB / 398.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.3661, allocations: 228.1 kB / 398.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.3715, allocations: 6.102 MB / 404.5 MB, free: 35.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.3724, allocations: 148.1 kB / 404.6 MB, free: 35.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.3724, allocations: 46.94 kB / 404.7 MB, free: 35.5 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.001267/0.3737, allocations: 0.8741 MB / 405.5 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.3739, allocations: 133.7 kB / 405.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.3763, allocations: 1.696 MB / 407.4 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3763, allocations: 13.72 kB / 407.4 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3763, allocations: 7.375 kB / 407.4 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3764, allocations: 3.984 kB / 407.4 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/0.381, allocations: 4.024 MB / 411.4 MB, free: 30.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.381, allocations: 4 kB / 411.4 MB, free: 30.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.3815, allocations: 139.8 kB / 411.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000757/0.3823, allocations: 393.4 kB / 411.9 MB, free: 29.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.3824, allocations: 35.98 kB / 412 MB, free: 29.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.3875, allocations: 6.095 MB / 418.1 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3875, allocations: 7.969 kB / 418.1 MB, free: 23.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.3906, allocations: 2.541 MB / 420.6 MB, free: 20.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.3908, allocations: 251.1 kB / 420.9 MB, free: 20.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.391, allocations: 32 kB / 420.9 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/0.3917, allocations: 107.9 kB / 421 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3919, allocations: 92.67 kB / 421.1 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.392, allocations: 31.98 kB / 421.1 MB, free: 20.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.393, allocations: 0.9591 MB / 422.1 MB, free: 19.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.393, allocations: 0 / 422.1 MB, free: 19.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001617/0.3946, allocations: 0.6766 MB / 422.7 MB, free: 18.44 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.003261/0.3979, allocations: 3.145 MB / 425.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.4005, allocations: 1.836 MB / 427.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4005, allocations: 0 / 427.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.402, allocations: 1.154 MB / 428.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.4036, allocations: 296.8 kB / 429.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/0.4234, allocations: 18.34 MB / 447.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.4251, allocations: 2.18 MB / 449.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009651/0.4261, allocations: 339 kB / 450 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/0.427, allocations: 0.8703 MB / 450.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4271, allocations: 4 kB / 450.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06806/0.4951, allocations: 36.41 MB / 487.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.4954, allocations: 254.5 kB / 487.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.109, allocations: 0 / 487.5 MB, free: 0.6484 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