Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006464/0.006464, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001477/0.001477, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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 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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 56.39 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2537, allocations: 49.15 MB / 397.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007173/0.2608, allocations: 7.258 MB / 404.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.2657, allocations: 2.261 MB / 406.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.267, allocations: 60.56 kB / 406.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.2681, allocations: 453.1 kB / 407.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.2704, allocations: 0.8589 MB / 408 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.2713, allocations: 375.5 kB / 408.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.2755, allocations: 3.152 MB / 411.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.2778, allocations: 1.564 MB / 413.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.2804, allocations: 1.451 MB / 414.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.2834, allocations: 1.712 MB / 416.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006051/0.284, allocations: 358.2 kB / 416.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.2852, allocations: 482.7 kB / 417.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009337/0.2862, allocations: 0.9005 MB / 418 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002345/0.2885, allocations: 1.61 MB / 419.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.2944, allocations: 4.669 MB / 424.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2945, allocations: 1.344 kB / 424.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2945, allocations: 4 kB / 424.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.147e-05/0.2945, allocations: 0 / 424.3 MB, free: 7.852 MB / 334.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.009281/0.3038, allocations: 3.622 MB / 427.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3039, allocations: 11.98 kB / 427.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001143/0.304, allocations: 85.09 kB / 428 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007425/0.3047, allocations: 441.1 kB / 428.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/0.3084, allocations: 0.7055 MB / 429.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.3127, allocations: 1.654 MB / 430.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.3129, allocations: 201.5 kB / 431 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007274/0.3136, allocations: 268 kB / 431.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007109/0.3207, allocations: 3.615 MB / 434.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.3208, allocations: 3.953 kB / 434.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.321, allocations: 112 kB / 435 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.3211, allocations: 105.4 kB / 435.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005507/0.3266, allocations: 3.097 MB / 438.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.3448, allocations: 10.26 MB / 448.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.349, allocations: 1.901 MB / 450.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.3504, allocations: 0.8828 MB / 451.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004082/0.3545, allocations: 2.235 MB / 453.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3546, allocations: 47.44 kB / 453.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=108): time 2.575e-06/0.3546, allocations: 4 kB / 453.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=171): time 0.0151/0.3697, allocations: 6.973 MB / 460.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3697, allocations: 95.11 kB / 460.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3716, allocations: 1.378 MB / 461.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.3717, allocations: 57.7 kB / 462 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008692/0.3726, allocations: 1.2 MB / 463.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.3731, allocations: 0.5965 MB / 463.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.3736, allocations: 299.5 kB / 464.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3737, allocations: 309.1 kB / 464.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.3752, allocations: 0.9056 MB / 465.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.377, allocations: 1.228 MB / 466.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/0.3805, allocations: 2.252 MB / 468.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3805, allocations: 0 / 468.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005596/0.3861, allocations: 3.115 MB / 471.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3861, allocations: 8 kB / 471.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3861, allocations: 12.03 kB / 471.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.388, allocations: 0.7992 MB / 472.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.3891, allocations: 275.6 kB / 473 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.4056, allocations: 13.2 MB / 486.2 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.4071, allocations: 99.86 kB / 486.3 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4073, allocations: 67.92 kB / 486.3 MB, free: 8.707 MB / 398.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.001959/0.4092, allocations: 0.9345 MB / 487.3 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/0.4097, allocations: 163 kB / 487.4 MB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/0.4151, allocations: 2.852 MB / 490.3 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4151, allocations: 20 kB / 490.3 MB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/0.4151, allocations: 12 kB / 490.3 MB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.4151, allocations: 11.91 kB / 490.3 MB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.4256, allocations: 5.853 MB / 496.2 MB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4256, allocations: 0 / 496.2 MB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.4265, allocations: 199.7 kB / 496.4 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.4283, allocations: 0.7875 MB / 497.2 MB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.4285, allocations: 55.95 kB / 497.2 MB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.4442, allocations: 12.97 MB / 0.4982 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4442, allocations: 3.984 kB / 0.4982 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006968/0.4512, allocations: 4.171 MB / 0.5023 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.4517, allocations: 175 kB / 0.5025 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.4519, allocations: 55.92 kB / 0.5025 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.4529, allocations: 111.9 kB / 0.5026 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.4533, allocations: 165.3 kB / 0.5028 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.4534, allocations: 55.97 kB / 0.5028 GB, free: 11.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001383/0.4548, allocations: 0.9591 MB / 0.5038 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4548, allocations: 0 / 0.5038 GB, free: 10.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002123/0.4569, allocations: 0.6094 MB / 0.5044 GB, free: 9.914 MB / 430.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.007169/0.4641, allocations: 4.779 MB / 0.509 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005217/0.4693, allocations: 3.042 MB / 0.512 GB, free: 1.977 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.4693, allocations: 4 kB / 0.512 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003237/0.4726, allocations: 1.987 MB / 0.514 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.4743, allocations: 336.4 kB / 0.5143 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/0.5073, allocations: 19.76 MB / 0.5336 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/0.5096, allocations: 2.321 MB / 0.5358 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.5107, allocations: 393.1 kB / 0.5362 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.5119, allocations: 0.9445 MB / 0.5371 GB, free: 7.699 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5119, allocations: 0 / 0.5371 GB, free: 7.699 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2601/0.772, allocations: 49.71 MB / 0.5857 GB, free: 143.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.6/23.37, allocations: 4.062 kB / 0.5857 GB, free: 143.6 MB / 478.1 MB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 26.837504105991684]