Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_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.0008364/0.0008365, allocations: 175.7 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.171/1.171, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.000915/0.000915, allocations: 92.41 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1872, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01065/0.1979, allocations: 14.32 MB / 389.5 MB, free: 34.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007343/0.2052, allocations: 4.265 MB / 393.8 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.207, allocations: 107.7 kB / 393.9 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.2089, allocations: 0.8468 MB / 394.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.2126, allocations: 1.602 MB / 396.3 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.2152, allocations: 1.281 MB / 397.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.2256, allocations: 12.13 MB / 409.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02604/0.2517, allocations: 20.59 MB / 430.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005483/0.2572, allocations: 3.945 MB / 434.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/0.2631, allocations: 4.351 MB / 438.6 MB, free: 1.023 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.2644, allocations: 0.5625 MB / 439.2 MB, free: 472 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.267, allocations: 0.8317 MB / 440 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.2684, allocations: 1.764 MB / 441.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005032/0.2734, allocations: 4.085 MB / 445.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.2874, allocations: 15.24 MB / 461.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2875, allocations: 0 / 461.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2875, allocations: 3.938 kB / 461.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004648/0.288, allocations: 4 kB / 461.1 MB, free: 10.46 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.0268/0.3148, allocations: 10.27 MB / 471.4 MB, free: 108 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3148, allocations: 8.031 kB / 471.4 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004526/0.3194, allocations: 1.524 MB / 472.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03226/0.3517, allocations: 6.217 MB / 479.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.3626, allocations: 5.176 MB / 484.3 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000744/0.3634, allocations: 0.6704 MB / 485 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/0.3666, allocations: 0.8788 MB / 485.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03405/0.4006, allocations: 14.68 MB / 0.4888 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.401, allocations: 7.906 kB / 0.4888 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/0.4037, allocations: 375.9 kB / 0.4892 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005404/0.4042, allocations: 0.4954 MB / 0.4897 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2938/0.698, allocations: 13.48 MB / 0.5028 GB, free: 92.55 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/0.7497, allocations: 44.75 MB / 0.5465 GB, free: 52.26 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008949/0.7587, allocations: 11.69 MB / 0.5579 GB, free: 39.48 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/0.7625, allocations: 3.21 MB / 0.5611 GB, free: 36.27 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.7628, allocations: 190.2 kB / 0.5613 GB, free: 36.08 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.7629, allocations: 78.56 kB / 0.5613 GB, free: 35.99 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 6.332e-06/0.7629, allocations: 0 / 0.5613 GB, free: 35.99 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.0168/0.7797, allocations: 9.711 MB / 0.5708 GB, free: 26.23 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.7798, allocations: 121.1 kB / 0.5709 GB, free: 26.1 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.7834, allocations: 3.136 MB / 0.574 GB, free: 22.94 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003929/0.7838, allocations: 93.7 kB / 0.5741 GB, free: 22.84 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.7851, allocations: 3.683 MB / 0.5777 GB, free: 19.14 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008992/0.786, allocations: 1.434 MB / 0.5791 GB, free: 17.71 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.7863, allocations: 116 kB / 0.5792 GB, free: 17.6 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.7865, allocations: 0.5459 MB / 0.5797 GB, free: 17.05 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/0.7898, allocations: 2.888 MB / 0.5826 GB, free: 14.15 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/0.7938, allocations: 4.951 MB / 0.5874 GB, free: 8.258 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/0.8019, allocations: 8.37 MB / 0.5956 GB, free: 14.93 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.392e-05/0.802, allocations: 20 kB / 0.5956 GB, free: 14.91 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01561/0.8176, allocations: 9.192 MB / 0.6046 GB, free: 5.664 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/0.8177, allocations: 35.28 kB / 0.6046 GB, free: 5.633 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.8178, allocations: 68 kB / 0.6047 GB, free: 5.566 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.821, allocations: 1.123 MB / 0.6058 GB, free: 4.438 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/0.8256, allocations: 1.291 MB / 0.607 GB, free: 3.145 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.8392, allocations: 9.91 MB / 0.6167 GB, free: 8.965 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.8436, allocations: 0.7395 MB / 0.6174 GB, free: 8.219 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/0.8446, allocations: 283.9 kB / 0.6177 GB, free: 7.941 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006394/0.851, allocations: 3.427 MB / 0.621 GB, free: 4.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009488/0.852, allocations: 347.6 kB / 0.6214 GB, free: 4.156 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.8646, allocations: 7.018 MB / 0.6282 GB, free: 13.08 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00893/0.8736, allocations: 5.843 MB / 0.6339 GB, free: 7.188 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.721e-05/0.8736, allocations: 12 kB / 0.6339 GB, free: 7.176 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/0.8737, allocations: 23.86 kB / 0.634 GB, free: 7.152 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/0.9005, allocations: 15.53 MB / 0.6491 GB, free: 7.465 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.799e-05/0.9006, allocations: 12 kB / 0.6491 GB, free: 7.453 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/0.9036, allocations: 0.7917 MB / 0.6499 GB, free: 6.66 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.9066, allocations: 1.02 MB / 0.6509 GB, free: 5.633 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/0.9071, allocations: 112 kB / 0.651 GB, free: 5.523 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.173/1.08, allocations: 9.654 MB / 0.6604 GB, free: 141.2 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/1.08, allocations: 22.53 kB / 0.6605 GB, free: 141.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.095, allocations: 10.88 MB / 0.6711 GB, free: 137.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.096, allocations: 1.016 MB / 0.6721 GB, free: 137 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000441/1.097, allocations: 95.39 kB / 0.6722 GB, free: 137 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.099, allocations: 279.3 kB / 0.6724 GB, free: 136.9 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007726/1.1, allocations: 347 kB / 0.6728 GB, free: 136.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.1, allocations: 142.2 kB / 0.6729 GB, free: 136.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002621/1.102, allocations: 2.098 MB / 0.675 GB, free: 136 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.51e-07/1.102, allocations: 0 / 0.675 GB, free: 136 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004351/1.107, allocations: 2.227 MB / 0.6771 GB, free: 135.4 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01217/1.119, allocations: 11.64 MB / 0.6885 GB, free: 130 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009307/1.128, allocations: 7.537 MB / 0.6959 GB, free: 123.9 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.128, allocations: 7.531 kB / 0.6959 GB, free: 123.9 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004686/1.133, allocations: 3.711 MB / 0.6995 GB, free: 120.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007636/1.141, allocations: 0.7689 MB / 0.7002 GB, free: 120 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05317/1.194, allocations: 42.85 MB / 0.7421 GB, free: 76.42 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/1.198, allocations: 5.757 MB / 0.7477 GB, free: 70.62 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003601/1.202, allocations: 3.069 MB / 0.7507 GB, free: 67.56 MB / 442.8 MB Notification: Performance of SimCode: time 1.222e-06/1.202, allocations: 0 / 0.7507 GB, free: 67.56 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.859/8.061, allocations: 221.7 MB / 0.9672 GB, free: 29.86 MB / 458.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches