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.001701/0.001701, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001911/0.001911, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.398/1.398, allocations: 207.6 MB / 235.3 MB, free: 10 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.001846/0.001846, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2898, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007981/0.2978, allocations: 7.258 MB / 403.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.3025, allocations: 2.263 MB / 405.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.3034, allocations: 56.12 kB / 405.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.3044, allocations: 461.2 kB / 406.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.3069, allocations: 0.856 MB / 407.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3079, allocations: 372.8 kB / 407.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.3124, allocations: 3.151 MB / 410.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.3148, allocations: 1.561 MB / 412.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.3174, allocations: 1.449 MB / 413.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.3205, allocations: 1.704 MB / 415.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006634/0.3211, allocations: 358.7 kB / 415.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.3226, allocations: 486.3 kB / 416.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.3236, allocations: 0.8997 MB / 417.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.3262, allocations: 1.615 MB / 418.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006546/0.3328, allocations: 4.674 MB / 423.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3328, allocations: 0 / 423.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.3328, allocations: 3.938 kB / 423.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002391/0.333, allocations: 0 / 423.5 MB, free: 7.727 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.01249/0.3455, allocations: 3.622 MB / 427.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.546e-05/0.3456, allocations: 11.98 kB / 427.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009007/0.3465, allocations: 437.1 kB / 427.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.3502, allocations: 0.7094 MB / 428.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.3542, allocations: 1.646 MB / 429.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.3544, allocations: 201.7 kB / 430.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.3549, allocations: 263.9 kB / 430.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007351/0.3623, allocations: 3.615 MB / 434 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.3623, allocations: 3.984 kB / 434 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.3626, allocations: 108 kB / 434.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.3627, allocations: 105.4 kB / 434.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005807/0.3685, allocations: 3.097 MB / 437.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.3863, allocations: 10.24 MB / 447.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.3904, allocations: 1.886 MB / 449.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.3919, allocations: 0.8745 MB / 450.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004462/0.3963, allocations: 2.215 MB / 452.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.3964, allocations: 51.38 kB / 452.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.3964, allocations: 0 / 452.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006638/0.403, allocations: 2.53 MB / 455.1 MB, free: 7.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.4031, allocations: 97.92 kB / 455.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.4056, allocations: 1.382 MB / 456.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4057, allocations: 45.7 kB / 456.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009635/0.4067, allocations: 1.199 MB / 457.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.407, allocations: 376.8 kB / 458.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/0.4075, allocations: 218.9 kB / 458.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.4077, allocations: 353.9 kB / 458.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.4088, allocations: 0.5803 MB / 459.3 MB, free: 3.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.4101, allocations: 0.8613 MB / 460.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.4124, allocations: 1.49 MB / 461.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.4124, allocations: 4 kB / 461.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003825/0.4163, allocations: 1.981 MB / 463.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4163, allocations: 12 kB / 463.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4163, allocations: 8 kB / 463.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.4176, allocations: 405.2 kB / 464.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/0.4185, allocations: 223.6 kB / 464.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00905/0.4275, allocations: 6.429 MB / 470.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.4289, allocations: 151.2 kB / 470.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.429, allocations: 47.98 kB / 470.9 MB, free: 7.527 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.002003/0.4311, allocations: 0.8681 MB / 471.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/0.4316, allocations: 139.1 kB / 471.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.4356, allocations: 1.652 MB / 473.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.4357, allocations: 16 kB / 473.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-05/0.4357, allocations: 7.984 kB / 473.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.4357, allocations: 7.922 kB / 473.6 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.4462, allocations: 3.96 MB / 477.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4462, allocations: 0 / 477.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.4469, allocations: 139.8 kB / 477.7 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.448, allocations: 405.8 kB / 478.1 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.4481, allocations: 47.97 kB / 478.1 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.4568, allocations: 6.425 MB / 484.5 MB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/0.4568, allocations: 7.938 kB / 484.6 MB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/0.4613, allocations: 2.489 MB / 487 MB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.462, allocations: 178.9 kB / 487.2 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/0.4624, allocations: 31.98 kB / 487.3 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.4636, allocations: 91.84 kB / 487.3 MB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.4638, allocations: 104.6 kB / 487.4 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.4639, allocations: 35.98 kB / 487.5 MB, free: 6.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002112/0.466, allocations: 0.9591 MB / 488.4 MB, free: 5.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.466, allocations: 0 / 488.4 MB, free: 5.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002649/0.4687, allocations: 0.6813 MB / 489.1 MB, free: 4.914 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.004935/0.4736, allocations: 3.099 MB / 492.2 MB, free: 1.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.4771, allocations: 1.764 MB / 494 MB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4771, allocations: 0 / 494 MB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.4792, allocations: 1.105 MB / 495.1 MB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.4812, allocations: 304.3 kB / 495.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/0.5137, allocations: 16.09 MB / 0.4995 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003922/0.5177, allocations: 2.184 MB / 0.5016 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001206/0.5189, allocations: 350.9 kB / 0.502 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/0.5205, allocations: 0.8625 MB / 0.5028 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.844e-06/0.5205, allocations: 0 / 0.5028 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.6229, allocations: 40.06 MB / 0.5419 GB, free: 2.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.97, allocations: 11.94 kB / 0.5419 GB, free: 2.332 MB / 462.1 MB " [Timeout remaining time 645] (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: 18.058174703037366]