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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008092, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007683/0.0007683, allocations: 153.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8749/0.8749, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.166e-05, allocations: 6.219 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01091/0.01093, allocations: 14.31 MB / 332.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008081/0.01901, allocations: 4.497 MB / 337.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.02091, allocations: 155.2 kB / 337.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007168/0.02808, allocations: 7.075 MB / 344.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.03355, allocations: 2.068 MB / 346.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.0358, allocations: 1.492 MB / 348 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008417/0.04422, allocations: 9.816 MB / 357.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/0.05998, allocations: 13.5 MB / 371.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/0.06826, allocations: 7.746 MB / 379.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005174/0.07343, allocations: 5.263 MB / 384.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.07508, allocations: 1.359 MB / 385.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.07748, allocations: 1.644 MB / 387.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.07895, allocations: 2.844 MB / 390.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003273/0.08222, allocations: 3.598 MB / 393.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.09542, allocations: 18.63 MB / 412.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09542, allocations: 0 / 412.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.09542, allocations: 0 / 412.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004272/0.09585, allocations: 0 / 412.4 MB, free: 7.945 MB / 378.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.02018/0.116, allocations: 12.17 MB / 424.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1161, allocations: 12.92 kB / 424.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.1179, allocations: 1.509 MB / 426.1 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.1341, allocations: 6.284 MB / 432.4 MB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009198/0.1433, allocations: 5.917 MB / 438.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.1437, allocations: 0.6704 MB / 439 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.1456, allocations: 0.8827 MB / 439.9 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2779/0.4235, allocations: 14.94 MB / 454.8 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.4237, allocations: 7.875 kB / 454.8 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/0.4249, allocations: 376.1 kB / 455.2 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003634/0.4252, allocations: 0.492 MB / 455.7 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.4433, allocations: 13.47 MB / 469.2 MB, free: 97.25 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0417/0.485, allocations: 40.04 MB / 0.4973 GB, free: 60.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/0.4904, allocations: 5.943 MB / 0.5031 GB, free: 54.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.4927, allocations: 2.865 MB / 0.5059 GB, free: 51.58 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.4928, allocations: 83.94 kB / 0.506 GB, free: 51.5 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4929, allocations: 86.44 kB / 0.506 GB, free: 51.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.992e-06/0.4929, allocations: 0 / 0.506 GB, free: 51.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.0102/0.5031, allocations: 9.401 MB / 0.5152 GB, free: 42.03 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.5031, allocations: 121.1 kB / 0.5153 GB, free: 41.89 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.5057, allocations: 3.279 MB / 0.5185 GB, free: 38.69 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5058, allocations: 89.7 kB / 0.5186 GB, free: 38.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/0.5067, allocations: 3.82 MB / 0.5223 GB, free: 35.19 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/0.5072, allocations: 1.443 MB / 0.5238 GB, free: 33.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008997/0.5081, allocations: 1.121 MB / 0.5249 GB, free: 32.63 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.515e-05/0.5081, allocations: 309.1 kB / 0.5251 GB, free: 32.33 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.5103, allocations: 2.834 MB / 0.5279 GB, free: 29.49 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.5129, allocations: 4.908 MB / 0.5327 GB, free: 23.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005224/0.5181, allocations: 8.243 MB / 0.5408 GB, free: 14.46 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/0.5181, allocations: 23.94 kB / 0.5408 GB, free: 14.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007894/0.526, allocations: 9.087 MB / 0.5497 GB, free: 5.332 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.5261, allocations: 32.78 kB / 0.5497 GB, free: 5.301 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.349e-05/0.5261, allocations: 68 kB / 0.5498 GB, free: 5.234 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.5279, allocations: 1.138 MB / 0.5509 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/0.53, allocations: 1.299 MB / 0.5521 GB, free: 2.789 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00878/0.5388, allocations: 10.46 MB / 0.5623 GB, free: 8.117 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.5413, allocations: 0.7531 MB / 0.5631 GB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.5416, allocations: 276 kB / 0.5633 GB, free: 7.09 MB / 426.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 (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.004149/0.5458, allocations: 3.427 MB / 0.5667 GB, free: 3.648 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/0.5462, allocations: 361.7 kB / 0.567 GB, free: 3.293 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007169/0.5534, allocations: 6.87 MB / 0.5737 GB, free: 12.39 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005525/0.5589, allocations: 5.71 MB / 0.5793 GB, free: 6.668 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.559, allocations: 12 kB / 0.5793 GB, free: 6.656 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.559, allocations: 23.91 kB / 0.5794 GB, free: 6.633 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.5757, allocations: 14.7 MB / 0.5937 GB, free: 7.781 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.5757, allocations: 12 kB / 0.5937 GB, free: 7.77 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.5773, allocations: 0.7917 MB / 0.5945 GB, free: 6.977 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.5791, allocations: 1.064 MB / 0.5955 GB, free: 5.906 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.5793, allocations: 104 kB / 0.5956 GB, free: 5.805 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/0.5886, allocations: 10.21 MB / 0.6056 GB, free: 11.38 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.5886, allocations: 23.88 kB / 0.6056 GB, free: 11.35 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.5997, allocations: 10.65 MB / 0.616 GB, free: 484 kB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1725/0.7722, allocations: 0.9523 MB / 0.617 GB, free: 153.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/0.7732, allocations: 94.72 kB / 0.617 GB, free: 153.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.775, allocations: 279.2 kB / 0.6173 GB, free: 153.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000763/0.7757, allocations: 355.9 kB / 0.6176 GB, free: 153.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004077/0.7761, allocations: 142 kB / 0.6178 GB, free: 153.1 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003244/0.7794, allocations: 2.119 MB / 0.6199 GB, free: 152.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7794, allocations: 7.719 kB / 0.6199 GB, free: 152.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005924/0.7853, allocations: 2.256 MB / 0.6221 GB, free: 152.9 MB / 474.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 (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.01054/0.7958, allocations: 11.38 MB / 0.6332 GB, free: 148.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00822/0.8041, allocations: 7.138 MB / 0.6402 GB, free: 146.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/0.8041, allocations: 0 / 0.6402 GB, free: 146.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003972/0.808, allocations: 3.417 MB / 0.6435 GB, free: 144.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/0.8112, allocations: 0.8079 MB / 0.6443 GB, free: 143.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06321/0.8744, allocations: 51.9 MB / 0.695 GB, free: 92.52 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005633/0.8801, allocations: 5.465 MB / 0.7003 GB, free: 87.04 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003244/0.8833, allocations: 2.158 MB / 0.7024 GB, free: 84.88 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/0.8856, allocations: 3.004 MB / 0.7053 GB, free: 81.88 MB / 474.8 MB Notification: Performance of SimCode: time 1.503e-06/0.8856, allocations: 0 / 0.7053 GB, free: 81.88 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3238/1.209, allocations: 116.2 MB / 0.8188 GB, free: 153.6 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.67, allocations: 8.781 kB / 0.8188 GB, free: 153.6 MB / 490.8 MB " [Timeout remaining time 648] (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 --stepSize=0.01 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 14.59553182311356]