Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001794/0.001794, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009915/0.0009916, allocations: 48.14 kB / 300.7 MB, free: 5.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0779/0.07891, allocations: 49.44 MB / 350.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01567/0.09462, allocations: 16.6 MB / 366.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.2343, allocations: 4.622 MB / 371.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.2366, allocations: 135.6 kB / 371.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.2489, allocations: 7.166 MB / 378.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004898/0.2538, allocations: 1.983 MB / 380.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.2568, allocations: 1.521 MB / 382.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008271/0.2651, allocations: 9.33 MB / 391.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02171/0.2868, allocations: 20.92 MB / 412.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/0.2928, allocations: 5.227 MB / 417.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006767/0.2996, allocations: 5.905 MB / 423.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.3016, allocations: 1.359 MB / 424.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.3046, allocations: 1.646 MB / 426.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.3066, allocations: 2.792 MB / 429.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005499/0.3121, allocations: 5.355 MB / 434.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.328, allocations: 18.25 MB / 453 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3281, allocations: 0 / 453 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3281, allocations: 0 / 453 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003518/0.3285, allocations: 0 / 453 MB, free: 12.45 MB / 366.1 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.03057/0.359, allocations: 12.19 MB / 465.2 MB, free: 272 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3591, allocations: 8.031 kB / 465.2 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003683/0.3628, allocations: 1.514 MB / 466.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03296/0.3958, allocations: 6.186 MB / 472.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009839/0.4056, allocations: 5.644 MB / 478.5 MB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/0.4061, allocations: 0.6753 MB / 479.2 MB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.4081, allocations: 0.8848 MB / 480.1 MB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/0.435, allocations: 14.72 MB / 494.8 MB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002432/0.4353, allocations: 11.84 kB / 494.8 MB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/0.4368, allocations: 372.6 kB / 495.2 MB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004159/0.4373, allocations: 499.3 kB / 495.7 MB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/0.4603, allocations: 13.52 MB / 0.4973 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2263/0.6867, allocations: 44.64 MB / 0.5409 GB, free: 119.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.6997, allocations: 11.64 MB / 0.5522 GB, free: 112.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/0.7049, allocations: 3.163 MB / 0.5553 GB, free: 112.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.7053, allocations: 179.3 kB / 0.5555 GB, free: 112.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.7054, allocations: 77.56 kB / 0.5556 GB, free: 112.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.961e-06/0.7054, allocations: 0 / 0.5556 GB, free: 112.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01884/0.7242, allocations: 9.583 MB / 0.5649 GB, free: 111.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.7243, allocations: 127.7 kB / 0.565 GB, free: 111.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.7279, allocations: 3.151 MB / 0.5681 GB, free: 110.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.7282, allocations: 91.2 kB / 0.5682 GB, free: 110.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.7295, allocations: 3.7 MB / 0.5718 GB, free: 107.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008375/0.7304, allocations: 1.394 MB / 0.5732 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.7317, allocations: 1.12 MB / 0.5743 GB, free: 105.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.7317, allocations: 301.1 kB / 0.5746 GB, free: 105.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.7348, allocations: 2.837 MB / 0.5773 GB, free: 104.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/0.7388, allocations: 4.902 MB / 0.5821 GB, free: 100.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/0.7461, allocations: 8.257 MB / 0.5902 GB, free: 95.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.357e-05/0.7462, allocations: 20.62 kB / 0.5902 GB, free: 95.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01135/0.7575, allocations: 9.111 MB / 0.5991 GB, free: 90.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.7576, allocations: 31.75 kB / 0.5991 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/0.7576, allocations: 67.41 kB / 0.5992 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.7603, allocations: 1.152 MB / 0.6003 GB, free: 89.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.764, allocations: 1.295 MB / 0.6016 GB, free: 87.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.7746, allocations: 10.81 MB / 0.6121 GB, free: 76.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.778, allocations: 0.7406 MB / 0.6129 GB, free: 76.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003653/0.7783, allocations: 272 kB / 0.6131 GB, free: 75.84 MB / 446.1 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003805/0.7822, allocations: 3.423 MB / 0.6165 GB, free: 72.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.7827, allocations: 351.6 kB / 0.6168 GB, free: 72.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008957/0.7917, allocations: 6.909 MB / 0.6235 GB, free: 65.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007538/0.7992, allocations: 5.748 MB / 0.6292 GB, free: 59.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/0.7993, allocations: 12 kB / 0.6292 GB, free: 59.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-05/0.7993, allocations: 19.92 kB / 0.6292 GB, free: 59.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/0.819, allocations: 15.34 MB / 0.6442 GB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.8191, allocations: 12 kB / 0.6442 GB, free: 43.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002628/0.8217, allocations: 0.7917 MB / 0.6449 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.8245, allocations: 1.075 MB / 0.646 GB, free: 41.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004685/0.8249, allocations: 108 kB / 0.6461 GB, free: 41.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/0.836, allocations: 10.57 MB / 0.6564 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/0.8361, allocations: 20.69 kB / 0.6564 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.8492, allocations: 10.69 MB / 0.6669 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/0.8511, allocations: 0.9874 MB / 0.6678 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/0.8516, allocations: 100 kB / 0.6679 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/0.8536, allocations: 271.7 kB / 0.6682 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005732/0.8542, allocations: 351.2 kB / 0.6685 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/0.8544, allocations: 140.5 kB / 0.6687 GB, free: 18.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002347/0.8568, allocations: 2.125 MB / 0.6707 GB, free: 16.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8568, allocations: 0 / 0.6707 GB, free: 16.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006049/0.8629, allocations: 2.224 MB / 0.6729 GB, free: 13.87 MB / 446.1 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01271/0.8756, allocations: 11.44 MB / 0.6841 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01974/0.8954, allocations: 11.28 MB / 0.6951 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/0.8954, allocations: 0 / 0.6951 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006026/0.9014, allocations: 3.662 MB / 0.6987 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.9052, allocations: 0.7898 MB / 0.6995 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/1.103, allocations: 57.08 MB / 0.7552 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00457/1.108, allocations: 5.933 MB / 0.761 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004779/1.113, allocations: 2.155 MB / 0.7631 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/1.116, allocations: 3.008 MB / 0.766 GB, free: 113.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/1.116, allocations: 4 kB / 0.766 GB, free: 113.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.693/1.809, allocations: 115 MB / 0.8783 GB, free: 124.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.81, allocations: 4.188 kB / 0.8783 GB, free: 124.6 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches