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.000912/0.0009119, allocations: 92.97 kB / 16.65 MB, free: 6.535 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.001002/0.001002, allocations: 172.2 kB / 17.56 MB, free: 6.184 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 14.02 kB / 301.6 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1033, allocations: 50.41 MB / 352 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01591/0.1192, allocations: 15.44 MB / 367.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1854/0.3047, allocations: 4.559 MB / 372 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.3078, allocations: 126.6 kB / 372.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.3114, allocations: 1.155 MB / 373.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.3171, allocations: 1.797 MB / 375 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.3201, allocations: 1.425 MB / 376.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.3303, allocations: 9.498 MB / 386 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02854/0.3589, allocations: 20.99 MB / 406.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00605/0.3649, allocations: 3.758 MB / 410.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006718/0.3717, allocations: 4.548 MB / 415.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.3728, allocations: 0.5625 MB / 415.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.3755, allocations: 0.8457 MB / 416.7 MB, free: 64 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.3769, allocations: 1.792 MB / 418.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004669/0.3816, allocations: 4.272 MB / 422.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.3966, allocations: 17.26 MB / 440 MB, free: 9.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3966, allocations: 0 / 440 MB, free: 9.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3966, allocations: 0 / 440 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004466/0.3971, allocations: 4 kB / 440 MB, free: 9.117 MB / 350.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.03041/0.4275, allocations: 10.27 MB / 450.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.4276, allocations: 8.031 kB / 450.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005472/0.4331, allocations: 1.515 MB / 451.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03472/0.4678, allocations: 6.211 MB / 458 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.4822, allocations: 5.676 MB / 463.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007781/0.483, allocations: 0.6705 MB / 464.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003322/0.4863, allocations: 0.8802 MB / 465.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.5215, allocations: 14.75 MB / 480 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004153/0.5219, allocations: 15.89 kB / 480 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/0.525, allocations: 376.9 kB / 480.4 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006485/0.5257, allocations: 495.3 kB / 480.8 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.555, allocations: 13.57 MB / 494.4 MB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08014/0.6352, allocations: 44.75 MB / 0.5265 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3371/0.9724, allocations: 11.71 MB / 0.538 GB, free: 126.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/0.9771, allocations: 3.225 MB / 0.5411 GB, free: 126.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.9774, allocations: 178.4 kB / 0.5413 GB, free: 126 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.9775, allocations: 77.16 kB / 0.5413 GB, free: 125.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 5.561e-06/0.9775, allocations: 0 / 0.5413 GB, free: 125.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01897/0.9965, allocations: 9.761 MB / 0.5509 GB, free: 122.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.9966, allocations: 127.9 kB / 0.551 GB, free: 122.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/1.001, allocations: 3.15 MB / 0.5541 GB, free: 121.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003871/1.001, allocations: 93.52 kB / 0.5542 GB, free: 121.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.003, allocations: 3.685 MB / 0.5578 GB, free: 119 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.004, allocations: 1.435 MB / 0.5592 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004971/1.004, allocations: 469.6 kB / 0.5596 GB, free: 117.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/1.004, allocations: 301.1 kB / 0.5599 GB, free: 117.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/1.008, allocations: 2.909 MB / 0.5627 GB, free: 116.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/1.012, allocations: 4.976 MB / 0.5676 GB, free: 112.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007425/1.019, allocations: 8.404 MB / 0.5758 GB, free: 107.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/1.019, allocations: 19.38 kB / 0.5758 GB, free: 107.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01254/1.032, allocations: 9.24 MB / 0.5849 GB, free: 103.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.67e-05/1.032, allocations: 36 kB / 0.5849 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.032, allocations: 64 kB / 0.5849 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/1.035, allocations: 1.125 MB / 0.586 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/1.039, allocations: 1.285 MB / 0.5873 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.05, allocations: 9.939 MB / 0.597 GB, free: 91.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.054, allocations: 0.7316 MB / 0.5977 GB, free: 90.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009534/1.055, allocations: 283.9 kB / 0.598 GB, free: 90.21 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.00546/1.061, allocations: 3.427 MB / 0.6013 GB, free: 86.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008881/1.062, allocations: 359.5 kB / 0.6017 GB, free: 86.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.073, allocations: 7.035 MB / 0.6086 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007655/1.08, allocations: 5.874 MB / 0.6143 GB, free: 73.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.746e-05/1.08, allocations: 15.84 kB / 0.6143 GB, free: 73.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.488e-05/1.08, allocations: 23.91 kB / 0.6143 GB, free: 73.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/1.104, allocations: 15.56 MB / 0.6295 GB, free: 57.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/1.104, allocations: 12 kB / 0.6295 GB, free: 57.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/1.107, allocations: 0.7918 MB / 0.6303 GB, free: 56.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.11, allocations: 1.029 MB / 0.6313 GB, free: 55.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004963/1.11, allocations: 115.9 kB / 0.6314 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.121, allocations: 9.692 MB / 0.6409 GB, free: 45.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.121, allocations: 19.94 kB / 0.6409 GB, free: 45.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.138, allocations: 10.92 MB / 0.6516 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.14, allocations: 1.007 MB / 0.6526 GB, free: 33.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.141, allocations: 96 kB / 0.6526 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.144, allocations: 279.7 kB / 0.6529 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008874/1.145, allocations: 347.2 kB / 0.6532 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004516/1.146, allocations: 140 kB / 0.6534 GB, free: 32.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003377/1.149, allocations: 2.129 MB / 0.6555 GB, free: 30.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.149, allocations: 0 / 0.6555 GB, free: 30.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005873/1.155, allocations: 2.231 MB / 0.6576 GB, free: 28.32 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.01432/1.169, allocations: 11.69 MB / 0.6691 GB, free: 16.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.18, allocations: 7.572 MB / 0.6764 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.18, allocations: 4.875 kB / 0.6765 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005432/1.186, allocations: 3.729 MB / 0.6801 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009585/1.196, allocations: 0.7631 MB / 0.6808 GB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3112/1.507, allocations: 61.26 MB / 0.7407 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/1.512, allocations: 5.935 MB / 0.7465 GB, free: 113.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005343/1.517, allocations: 2.16 MB / 0.7486 GB, free: 113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003738/1.521, allocations: 3.02 MB / 0.7515 GB, free: 110.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/1.521, allocations: 0 / 0.7515 GB, free: 110.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5825/2.104, allocations: 112.4 MB / 0.8613 GB, free: 1.316 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/2.104, allocations: 263.1 kB / 0.8615 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.059/7.163, allocations: 0 / 0.8615 GB, free: 0.9609 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