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.00142/0.00142, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001567/0.001567, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.479/1.479, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",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.001948/0.001948, allocations: 57.8 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2509, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007044/0.258, allocations: 6.367 MB / 402.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.2626, allocations: 2.154 MB / 404.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.2636, allocations: 60.34 kB / 404.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.2648, allocations: 447.3 kB / 405.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.2677, allocations: 0.8411 MB / 406.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2687, allocations: 376.2 kB / 406.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.2727, allocations: 3.15 MB / 409.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.2748, allocations: 1.518 MB / 411.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.2771, allocations: 1.452 MB / 412.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.2809, allocations: 1.707 MB / 414.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.2821, allocations: 358.8 kB / 414.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.2839, allocations: 470.3 kB / 415.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.2851, allocations: 0.9046 MB / 416.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.2881, allocations: 1.291 MB / 417.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006151/0.2942, allocations: 4.702 MB / 422.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2942, allocations: 0 / 422.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2942, allocations: 1.219 kB / 422.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.2944, allocations: 4 kB / 422.1 MB, free: 9.082 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.009681/0.304, allocations: 3.616 MB / 425.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3041, allocations: 15.98 kB / 425.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007784/0.3049, allocations: 441.1 kB / 426.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.3086, allocations: 0.7016 MB / 426.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/0.3127, allocations: 1.654 MB / 428.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3129, allocations: 201.7 kB / 428.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/0.3135, allocations: 267.9 kB / 429 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/0.3205, allocations: 3.837 MB / 432.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.3206, allocations: 0 / 432.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.3208, allocations: 112 kB / 432.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.321, allocations: 109.4 kB / 433 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00588/0.3268, allocations: 3.089 MB / 436.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.3457, allocations: 9.436 MB / 445.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.3501, allocations: 1.855 MB / 447.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.3517, allocations: 0.8743 MB / 448.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004411/0.3561, allocations: 2.016 MB / 450.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.3561, allocations: 51.42 kB / 450.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.417e-06/0.3561, allocations: 0 / 450.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006594/0.3627, allocations: 2.534 MB / 452.9 MB, free: 9.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3628, allocations: 97.84 kB / 453 MB, free: 9.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.365, allocations: 1.39 MB / 454.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.3651, allocations: 45.7 kB / 454.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000971/0.366, allocations: 1.199 MB / 455.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.3664, allocations: 376.8 kB / 456 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/0.3667, allocations: 222.9 kB / 456.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3669, allocations: 357.9 kB / 456.6 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.368, allocations: 0.5725 MB / 457.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3692, allocations: 0.8574 MB / 458 MB, free: 4.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.3715, allocations: 1.486 MB / 459.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3715, allocations: 0 / 459.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00378/0.3753, allocations: 1.985 MB / 461.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.3753, allocations: 12 kB / 461.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.3753, allocations: 8 kB / 461.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.3764, allocations: 409.2 kB / 461.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.3773, allocations: 219.6 kB / 462.1 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008552/0.3858, allocations: 6.355 MB / 468.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3869, allocations: 151.1 kB / 468.6 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.387, allocations: 47.98 kB / 468.6 MB, free: 9.547 MB / 382.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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.3887, allocations: 0.8681 MB / 469.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.389, allocations: 139.1 kB / 469.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/0.3925, allocations: 1.655 MB / 471.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.3925, allocations: 15.94 kB / 471.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.3925, allocations: 4 kB / 471.3 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.3925, allocations: 15.92 kB / 471.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007811/0.4003, allocations: 3.781 MB / 475.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4003, allocations: 8.031 kB / 475.1 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.401, allocations: 139.8 kB / 475.3 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.402, allocations: 401.5 kB / 475.7 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4021, allocations: 39.97 kB / 475.7 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008822/0.411, allocations: 6.359 MB / 482.1 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.411, allocations: 8.062 kB / 482.1 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.4158, allocations: 2.493 MB / 484.6 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.4165, allocations: 174.9 kB / 484.7 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.4168, allocations: 35.98 kB / 484.8 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.4178, allocations: 91.84 kB / 484.9 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.4181, allocations: 100.7 kB / 485 MB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.4182, allocations: 28 kB / 485 MB, free: 8.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002142/0.4204, allocations: 0.9669 MB / 485.9 MB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4204, allocations: 0 / 485.9 MB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00283/0.4232, allocations: 0.6775 MB / 486.6 MB, free: 7.172 MB / 398.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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,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.004964/0.4281, allocations: 3.107 MB / 489.7 MB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.4315, allocations: 1.763 MB / 491.5 MB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.4315, allocations: 5.125 kB / 491.5 MB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.4336, allocations: 1.101 MB / 492.6 MB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.4358, allocations: 304.4 kB / 492.9 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/0.4681, allocations: 16.06 MB / 0.497 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.4707, allocations: 1.612 MB / 0.4986 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.4718, allocations: 347 kB / 0.4989 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.4731, allocations: 0.8703 MB / 0.4998 GB, free: 13.38 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4731, allocations: 0 / 0.4998 GB, free: 13.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09824/0.5713, allocations: 41.16 MB / 0.54 GB, free: 4.082 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.23, allocations: 4.062 kB / 0.54 GB, free: 4.078 MB / 462.1 MB " [Timeout remaining time 647] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.34429840184748]