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.001342/0.001342, allocations: 106.6 kB / 21.96 MB, free: 5.219 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.001471/0.001471, allocations: 214 kB / 25.26 MB, free: 3.129 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.311/1.311, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.001656/0.001656, allocations: 49.81 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2466, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006506/0.2531, allocations: 6.36 MB / 403.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.2569, allocations: 2.146 MB / 405.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008131/0.2577, allocations: 61.28 kB / 405.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000873/0.2586, allocations: 448 kB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.2607, allocations: 0.8484 MB / 407 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000805/0.2615, allocations: 374.3 kB / 407.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.2647, allocations: 3.154 MB / 410.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.2665, allocations: 1.553 MB / 412.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.2687, allocations: 1.451 MB / 413.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.2712, allocations: 1.711 MB / 415.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000529/0.2717, allocations: 362.8 kB / 415.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.2728, allocations: 474 kB / 416 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008553/0.2737, allocations: 0.9082 MB / 416.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.2754, allocations: 1.292 MB / 418.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005328/0.2807, allocations: 4.697 MB / 422.9 MB, free: 9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2807, allocations: 0 / 422.9 MB, free: 9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2807, allocations: 1.25 kB / 422.9 MB, free: 9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.2808, allocations: 0 / 422.9 MB, free: 9 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.008385/0.2892, allocations: 3.627 MB / 426.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2892, allocations: 11.98 kB / 426.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001079/0.2893, allocations: 85.06 kB / 426.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006328/0.29, allocations: 437.2 kB / 427.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.2935, allocations: 0.7055 MB / 427.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.2966, allocations: 1.654 MB / 429.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.2967, allocations: 205.5 kB / 429.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004222/0.2972, allocations: 271.9 kB / 429.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.3034, allocations: 3.837 MB / 433.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.3034, allocations: 0 / 433.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.3037, allocations: 116 kB / 433.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.3038, allocations: 109.4 kB / 434 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.309, allocations: 3.101 MB / 437.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.3257, allocations: 9.436 MB / 446.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004133/0.3298, allocations: 1.881 MB / 448.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.3312, allocations: 0.8908 MB / 449.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003916/0.3352, allocations: 2.024 MB / 451.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.3352, allocations: 55.36 kB / 451.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=108): time 3.336e-06/0.3352, allocations: 0 / 451.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=171): time 0.01474/0.35, allocations: 6.97 MB / 458.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.35, allocations: 95.11 kB / 458.4 MB, free: 5.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.3519, allocations: 1.386 MB / 459.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.352, allocations: 57.7 kB / 459.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008681/0.3529, allocations: 1.2 MB / 461.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.3534, allocations: 0.6042 MB / 461.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.3539, allocations: 299.5 kB / 462 MB, free: 1.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.354, allocations: 305.1 kB / 462.3 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3555, allocations: 0.9095 MB / 463.2 MB, free: 268 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.3572, allocations: 1.228 MB / 464.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.3606, allocations: 2.244 MB / 466.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.3606, allocations: 12 kB / 466.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00539/0.366, allocations: 3.115 MB / 469.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.366, allocations: 8 kB / 469.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.366, allocations: 8 kB / 469.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.3679, allocations: 0.7953 MB / 470.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.369, allocations: 279.6 kB / 470.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.3849, allocations: 13.02 MB / 483.9 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.3862, allocations: 99.92 kB / 484 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3863, allocations: 67.98 kB / 484 MB, free: 10.66 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.001548/0.3879, allocations: 0.9305 MB / 485 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.3882, allocations: 163 kB / 485.1 MB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.3931, allocations: 2.852 MB / 488 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3931, allocations: 16 kB / 488 MB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.3932, allocations: 12 kB / 488 MB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.3932, allocations: 7.969 kB / 488 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009709/0.4029, allocations: 5.603 MB / 493.6 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4029, allocations: 7.922 kB / 493.6 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.4038, allocations: 203.9 kB / 493.8 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.4055, allocations: 0.7681 MB / 494.6 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4057, allocations: 55.97 kB / 494.6 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.4209, allocations: 12.82 MB / 0.4956 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4209, allocations: 7.938 kB / 0.4956 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006736/0.4276, allocations: 4.168 MB / 0.4996 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/0.4281, allocations: 179 kB / 0.4998 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.4283, allocations: 51.86 kB / 0.4999 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4293, allocations: 123.9 kB / 0.5 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/0.4298, allocations: 173.3 kB / 0.5002 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.4299, allocations: 51.92 kB / 0.5002 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.4313, allocations: 0.963 MB / 0.5011 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4313, allocations: 0 / 0.5011 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002209/0.4335, allocations: 0.6094 MB / 0.5017 GB, free: 12.28 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.007015/0.4405, allocations: 4.776 MB / 0.5064 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.4458, allocations: 3.042 MB / 0.5094 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.4458, allocations: 0 / 0.5094 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/0.4491, allocations: 1.986 MB / 0.5113 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.4508, allocations: 324.5 kB / 0.5116 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/0.4814, allocations: 19.76 MB / 0.5309 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.4834, allocations: 1.749 MB / 0.5326 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001057/0.4845, allocations: 397.1 kB / 0.533 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.4857, allocations: 0.9484 MB / 0.5339 GB, free: 10.64 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4857, allocations: 0 / 0.5339 GB, free: 10.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/0.7541, allocations: 50.97 MB / 0.5837 GB, free: 145.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.57/23.33, allocations: 4.062 kB / 0.5837 GB, free: 145.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.790314199053682]