Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2183/0.3274, allocations: 7.897 MB / 434.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.3316, allocations: 2.489 MB / 437.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.3327, allocations: 70.53 kB / 437.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.3338, allocations: 464.3 kB / 437.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.3361, allocations: 0.8748 MB / 438.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.337, allocations: 410.6 kB / 439.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.3413, allocations: 3.245 MB / 442.4 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.3441, allocations: 2.122 MB / 444.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.3465, allocations: 1.459 MB / 446 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.349, allocations: 1.714 MB / 447.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.3496, allocations: 359.3 kB / 448.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.3509, allocations: 499.6 kB / 448.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007593/0.3517, allocations: 0.9083 MB / 449.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.3534, allocations: 1.615 MB / 451.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.3597, allocations: 4.71 MB / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3597, allocations: 0 / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3597, allocations: 0 / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.3599, allocations: 0 / 455.8 MB, free: 13.93 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01112/0.371, allocations: 3.733 MB / 459.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3711, allocations: 8.719 kB / 459.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001356/0.3712, allocations: 82.62 kB / 459.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007516/0.372, allocations: 443.3 kB / 460.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.3763, allocations: 0.7465 MB / 460.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.3806, allocations: 1.846 MB / 462.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.3809, allocations: 203.3 kB / 462.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006745/0.3815, allocations: 270.2 kB / 463.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007313/0.3888, allocations: 3.631 MB / 466.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.3889, allocations: 0 / 466.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.3892, allocations: 112.2 kB / 466.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.776e-05/0.3893, allocations: 104.7 kB / 467 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005526/0.3948, allocations: 3.11 MB / 470.1 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.4132, allocations: 10.3 MB / 480.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005497/0.4186, allocations: 4.489 MB / 484.9 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.4202, allocations: 0.8749 MB / 485.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004448/0.4246, allocations: 2.671 MB / 488.4 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.4247, allocations: 47.42 kB / 488.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=108): time 3.015e-06/0.4247, allocations: 0 / 488.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=171): time 0.01582/0.4405, allocations: 7.216 MB / 495.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.4406, allocations: 95.11 kB / 495.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.4426, allocations: 1.4 MB / 497.2 MB, free: 9.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4427, allocations: 57.7 kB / 497.2 MB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009027/0.4436, allocations: 1.208 MB / 498.4 MB, free: 8.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.4442, allocations: 0.6042 MB / 499 MB, free: 7.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/0.4447, allocations: 299.5 kB / 499.3 MB, free: 7.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4448, allocations: 305.1 kB / 499.6 MB, free: 6.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4463, allocations: 0.8861 MB / 0.4888 GB, free: 5.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4481, allocations: 1.216 MB / 0.49 GB, free: 4.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.4514, allocations: 2.19 MB / 0.4921 GB, free: 2.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4514, allocations: 0 / 0.4921 GB, free: 2.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005588/0.4569, allocations: 3.064 MB / 0.4951 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.457, allocations: 8 kB / 0.4951 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.457, allocations: 8 kB / 0.4951 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.4589, allocations: 0.7851 MB / 0.4959 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.46, allocations: 279.5 kB / 0.4961 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.4759, allocations: 13.36 MB / 0.5092 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.4774, allocations: 87.92 kB / 0.5093 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4775, allocations: 64.05 kB / 0.5093 GB, free: 84 kB / 414.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 (135): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,19,100.0%), (2,19,100.0%), (2,21,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001693/0.4792, allocations: 0.9538 MB / 0.5103 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.4795, allocations: 167 kB / 0.5104 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.4846, allocations: 2.797 MB / 0.5132 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.4847, allocations: 20 kB / 0.5132 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.4847, allocations: 16 kB / 0.5132 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.4847, allocations: 11.95 kB / 0.5132 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009791/0.4945, allocations: 5.772 MB / 0.5188 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4945, allocations: 4 kB / 0.5188 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.4953, allocations: 191.7 kB / 0.519 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.4971, allocations: 0.7699 MB / 0.5198 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.4973, allocations: 51.97 kB / 0.5198 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.5127, allocations: 13.22 MB / 0.5327 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5127, allocations: 0 / 0.5327 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/0.5197, allocations: 4.137 MB / 0.5368 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/0.5204, allocations: 248.1 kB / 0.537 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.5206, allocations: 39.98 kB / 0.5371 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5216, allocations: 115.8 kB / 0.5372 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/0.522, allocations: 157.4 kB / 0.5373 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.5221, allocations: 51.97 kB / 0.5374 GB, free: 2.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.5235, allocations: 0.9795 MB / 0.5383 GB, free: 1.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5235, allocations: 4 kB / 0.5383 GB, free: 1.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002218/0.5258, allocations: 0.6132 MB / 0.5389 GB, free: 1.035 MB / 446.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,loss_m.Phi.re,loss_m.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 (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,20,100.0%), (2,21,100.0%), (2,18,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.007222/0.533, allocations: 4.744 MB / 0.5436 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005282/0.5383, allocations: 2.993 MB / 0.5465 GB, free: 9.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5383, allocations: 3.938 kB / 0.5465 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00327/0.5415, allocations: 1.967 MB / 0.5484 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.5434, allocations: 328.3 kB / 0.5487 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/0.5755, allocations: 19.61 MB / 0.5679 GB, free: 2.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.5778, allocations: 2.325 MB / 0.5701 GB, free: 324 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.5789, allocations: 393.3 kB / 0.5705 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.5802, allocations: 0.9566 MB / 0.5715 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5802, allocations: 0 / 0.5715 GB, free: 14.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/0.8751, allocations: 48.27 MB / 0.6186 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.35/22.22, allocations: 6.938 kB / 0.6186 GB, free: 160.9 MB / 0.5137 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 25.91425699699903]